PDA

View Full Version : need help with this error.



eqhunter
05-05-2004, 10:49 PM
ok... Last night I had SEQ running great. Today there was a patch. I read on how to fix the everquest.h file from this
forum link (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=4814) . I did the compile and I get an error.. Im hoping someone could help me out.

Hunter


[root@localhost showeq]# cd /seq/showeq
[root@localhost showeq]# export CC=gcc
[root@localhost showeq]# export CXX=g++
[root@localhost showeq]# export QTDIR=/usr/lib/qt-3.2.3
[root@localhost showeq]# make -f Makefile.dist

Clearing all old Makefile data.............................. done!


Adding libtool support...................................... done!
Generating aclocal.m4 from configure.in and acinclude.m4.... done!

Checking Autoheader version................................. done!
>> Using Autoheader version................................. Autoconf)
Roland

Free
free
even!

Generating configure template (config.h).................... done!
Generating Makefile.in from Makefile.am..................... done!

Checking Autoconf version................................... done!
>> Using Autoconf version................................... Autoconf)
David

Free
free
even!

Finalizing Autoconf script (configure)...................... done!
Releasing temporary file handles............................ done!


******************************************
Success! Please type the following:

./configure && make


This will configure and compile ShowEQ...

If you are installing ShowEQ for the first
time, be sure to add '&& make install' to
the end of the compile process...
******************************************

[root@localhost showeq]# ./configure && make && make install
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/seq/showeq/missing: Unknown `--run' option
Try `/seq/showeq/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for g++... g++
checking for supported compiler version... checking for style of include used by make... GNU
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming const... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for supported libc version... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for Qt... yes
>> Found version.: 3.2.3
>>> Headers......: /usr/lib/qt-3.2.3/include/
>>>> Libraries...: /usr/lib/qt-3.2.3/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking for Qt UIC... yes
checking if Qt compiles without flags... no
checking for pthread_create in -lpthread... yes
setting Linux pthread compilation options
checking for pcap_open_live in -lpcap... yes
checking for gdImageCreate in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for inflate in -lz... yes
checking for gdbm_open in -lgdbm... yes
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... (cached) yes
checking deque usability... yes
checking deque presence... yes
checking for deque... yes
checking for size_t... yes
checking whether to enable debugging code and flags... yes
checking whether to build with optimization enabled... yes
checking whether to build with code inlined... yes
checking whether to build with profiling... no
checking whether to build with Berkeley DB3... no
checking whether to build for use with the test server... no
checking for rpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating maps/Makefile
config.status: creating conf/Makefile
config.status: creating conf.h
config.status: executing depfiles commands
Success!
Please run:
make
make all-recursive
make[1]: Entering directory `/seq/showeq'
Making all in maps
make[2]: Entering directory `/seq/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/seq/showeq/maps'
Making all in src
make[2]: Entering directory `/seq/showeq/src'
/usr/lib/qt-3.2.3/bin/uic mapicondialog.ui > ui_mapicondialog.h
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/lib/qt-3.2.3/bin/uic -impl ui_mapicondialog.h mapicondialog.ui > ui_mapicondialog.cpp
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
/usr/lib/qt-3.2.3/bin/moc -nw packet.h -o m_packet.cpp
/usr/lib/qt-3.2.3/bin/moc -nw packetstream.h -o m_packetstream.cpp
./h2info.pl everquest.h s_everquest.h
Generating 's_everquest.h' from 'everquest.h'
/usr/lib/qt-3.2.3/bin/moc -nw packetinfo.h -o m_packetinfo.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnshell.h -o m_spawnshell.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnlist.h -o m_spawnlist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spellshell.h -o m_spellshell.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spelllist.h -o m_spelllist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw editor.h -o m_editor.cpp
/usr/lib/qt-3.2.3/bin/moc -nw interface.h -o m_interface.cpp
/usr/lib/qt-3.2.3/bin/moc -nw compass.h -o m_compass.cpp
/usr/lib/qt-3.2.3/bin/moc -nw map.h -o m_map.cpp
/usr/lib/qt-3.2.3/bin/moc -nw experiencelog.h -o m_experiencelog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw combatlog.h -o m_combatlog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw player.h -o m_player.cpp
/usr/lib/qt-3.2.3/bin/moc -nw skilllist.h -o m_skilllist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw statlist.h -o m_statlist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw filtermgr.h -o m_filtermgr.cpp
/usr/lib/qt-3.2.3/bin/moc -nw category.h -o m_category.cpp
/usr/lib/qt-3.2.3/bin/moc -nw compassframe.h -o m_compassframe.cpp
/usr/lib/qt-3.2.3/bin/moc -nw group.h -o m_group.cpp
/usr/lib/qt-3.2.3/bin/moc -nw guild.h -o m_guild.cpp
/usr/lib/qt-3.2.3/bin/moc -nw netdiag.h -o m_netdiag.cpp
/usr/lib/qt-3.2.3/bin/moc -nw logger.h -o m_logger.cpp
/usr/lib/qt-3.2.3/bin/moc -nw xmlpreferences.h -o m_xmlpreferences.cpp
/usr/lib/qt-3.2.3/bin/moc -nw seqwindow.h -o m_seqwindow.cpp
/usr/lib/qt-3.2.3/bin/moc -nw seqlistview.h -o m_seqlistview.cpp
/usr/lib/qt-3.2.3/bin/moc -nw zonemgr.h -o m_zonemgr.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnmonitor.h -o m_spawnmonitor.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnpointlist.h -o m_spawnpointlist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnlistcommon.h -o m_spawnlistcommon.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnlist2.h -o m_spawnlist2.cpp
/usr/lib/qt-3.2.3/bin/moc -nw itemdb.h -o m_itemdb.cpp
/usr/lib/qt-3.2.3/bin/moc -nw datetimemgr.h -o m_datetimemgr.cpp
/usr/lib/qt-3.2.3/bin/moc -nw spawnlog.h -o m_spawnlog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw packetlog.h -o m_packetlog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw messages.h -o m_messages.cpp
/usr/lib/qt-3.2.3/bin/moc -nw messagefilter.h -o m_messagefilter.cpp
/usr/lib/qt-3.2.3/bin/moc -nw messagewindow.h -o m_messagewindow.cpp
/usr/lib/qt-3.2.3/bin/moc -nw messageshell.h -o m_messageshell.cpp
/usr/lib/qt-3.2.3/bin/moc -nw terminal.h -o m_terminal.cpp
/usr/lib/qt-3.2.3/bin/moc -nw filteredspawnlog.h -o m_filteredspawnlog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw messagefilterdialog.h -o m_messagefilterdialog.cpp/usr/lib/qt-3.2.3/bin/moc -nw mapicon.h -o m_mapicon.cpp
/usr/lib/qt-3.2.3/bin/moc -nw ui_mapicondialog.h -o m_ui_mapicondialog.cpp
/usr/lib/qt-3.2.3/bin/moc -nw filternotifications.h -o m_filternotifications.cpp/usr/lib/qt-3.2.3/bin/moc -nw guildshell.h -o m_guildshell.cpp
/usr/lib/qt-3.2.3/bin/moc -nw guildlist.h -o m_guildlist.cpp
/usr/lib/qt-3.2.3/bin/moc -nw bazaarlog.h -o m_bazaarlog.cpp
make all-am
make[3]: Entering directory `/seq/showeq/src'
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from interface.h:32,
from main.cpp:39:
everquest.h:1: stray '\357' in program
everquest.h:1: stray '\273' in program
everquest.h:1: stray '\277' in program
In file included from interface.h:32,
from main.cpp:39:
everquest.h:1914:45: warning: no newline at end of file
In file included from spawn.h:32,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:39:
everquest.h:1: stray '\357' in program
everquest.h:1: stray '\273' in program
everquest.h:1: stray '\277' in program
In file included from spawn.h:32,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:39:
everquest.h:1914:45: warning: no newline at end of file
In file included from spawnshell.h:35,
from interface.h:34,
from main.cpp:39:
everquest.h:1: stray '\357' in program
everquest.h:1: stray '\273' in program
everquest.h:1: stray '\277' in program
In file included from spawnshell.h:35,
from interface.h:34,
from main.cpp:39:
everquest.h:1914:45: warning: no newline at end of file
In file included from itemdb.h:16,
from main.cpp:44:
everquest.h:1: stray '\357' in program
everquest.h:1: stray '\273' in program
everquest.h:1: stray '\277' in program
In file included from itemdb.h:16,
from main.cpp:44:
everquest.h:1914:45: warning: no newline at end of file
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/seq/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/seq/showeq'
make: *** [all] Error 2
[root@localhost showeq]#

Freakyuno
05-06-2004, 12:51 AM
It looks like somehow you got your everquest.h file borked.


everquest.h:1: stray '\357' in program
is the first sign of trouble, and contunes to be bad from there on out. Try downloading a new copy of the everquest.h file, or restoring it from backup, and re-editing it.

Dont forgot to
make distclean
before you recomplile.

eqhunter
05-06-2004, 08:13 AM
thanks Freak

Geekylad
05-06-2004, 10:35 AM
I am getting the following error after Make....

seqlistview.cpp: In member function `virtual void SEQListView::savePrefs()':
seqlistview.cpp:130: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [seqlistview.o] Error 1
make[2]: Leaving directory `/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/showeq'
make: *** [all-recursive-am] Error 2
[root@geekylad showeq]#

Can anyone help?

Initially I re-downloaded the source, that didn't work.

Any help much appreciated.

Thx

junk
05-07-2004, 07:08 AM
That's actually a completely seperate issue, Geekylad. Notice the:


seqlistview.cpp:130: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


part of the message. This isn't a ShowEQ error, this is an error with your compiler. What version of gcc are you using? Try "gcc -v" to find out. However, don't expect much help, as I sincerely doubt anyone here would want to tackle a compiler error (unless it's actually malformed structure in the ShowEQ source). :)

eqhunter
05-07-2004, 12:23 PM
Originally posted by junk
That's actually a completely seperate issue, Geekylad. Notice the:


seqlistview.cpp:130: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.


part of the message. This isn't a ShowEQ error, this is an error with your compiler. What version of gcc are you using? Try "gcc -v" to find out. However, don't expect much help, as I sincerely doubt anyone here would want to tackle a compiler error (unless it's actually malformed structure in the ShowEQ source). :)

no worries.. Iafter I got the text editer everything worked..

btw gcc 3.2.3 20030502


thanks for the help I meeded to get seq to work for me