PDA

View Full Version : Got QT done now have an error with SEQ



showeqnewb
02-20-2003, 01:03 PM
[root@localhost root]# cd /root/showeq
[root@localhost showeq]# make distclean
Making distclean in .
make[1]: Entering directory `/root/showeq'
rm -f conf.h
rm -f TAGS ID
rm -f Makefile
rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "configure.dbg libqt2.dbg libqt3.dbg" || rm -f configure.dbg libqt2.dbg
libqt3.dbg
rm -f libtool
make[1]: Leaving directory `/root/showeq'
Making distclean in conf
make[1]: Entering directory `/root/showeq/conf'
rm -f Makefile
rm -f config.cache config.log stamp-h stamp-h[0-9]*
rm -f libtool
make[1]: Leaving directory `/root/showeq/conf'
Making distclean in src
make[1]: Entering directory `/root/showeq/src'
rm -f *.tab.c
rm -f TAGS ID
rm -f Makefile
rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "showeq showeqitemdbtool" || rm -f showeq showeqitemdbtool
test -z "sortitem" || rm -f sortitem
rm -rf .libs _libs
test -z "m_packet.cpp m_spawnshell.cpp m_spawnlist.cpp m_spellshell.cpp m_spelll
ist.cpp m_editor.cpp m_interface.cpp m_compass.cpp m_map.cpp m_experiencelog.cpp
m_combatlog.cpp m_msgdlg.cpp m_player.cpp m_decode.cpp m_skilllist.cpp m_statli
st.cpp m_filtermgr.cpp m_category.cpp m_compassframe.cpp m_group.cpp m_guild.cpp
m_netdiag.cpp m_logger.cpp m_xmlpreferences.cpp m_seqwindow.cpp m_seqlistview.c
pp m_zonemgr.cpp m_spawnmonitor.cpp m_spawnpointlist.cpp m_spawnlistcommon.cpp m
_spawnlist2.cpp m_itemdb.cpp" || rm -f m_packet.cpp m_spawnshell.cpp m_spawnlist
.cpp m_spellshell.cpp m_spelllist.cpp m_editor.cpp m_interface.cpp m_compass.cpp
m_map.cpp m_experiencelog.cpp m_combatlog.cpp m_msgdlg.cpp m_player.cpp m_decod
e.cpp m_skilllist.cpp m_statlist.cpp m_filtermgr.cpp m_category.cpp m_compassfra
me.cpp m_group.cpp m_guild.cpp m_netdiag.cpp m_logger.cpp m_xmlpreferences.cpp m
_seqwindow.cpp m_seqlistview.cpp m_zonemgr.cpp m_spawnmonitor.cpp m_spawnpointli
st.cpp m_spawnlistcommon.cpp m_spawnlist2.cpp m_itemdb.cpp
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
rm -f libtool
make[1]: Leaving directory `/root/showeq/src'
Making distclean in maps
make[1]: Entering directory `/root/showeq/maps'
rm -f Makefile
rm -f config.cache config.log stamp-h stamp-h[0-9]*
rm -f libtool
make[1]: Leaving directory `/root/showeq/maps'
rm -f config.status
[root@localhost showeq]# cvs -d:pserver:[email protected]:/cvsro
ot/seq login
Logging in to :pserver:[email protected]:2401/cvsroot/seq
CVS password:
[root@localhost showeq]# cvs -z3 update
? BACKUP
? patch03.diff
? showeq-4.3.5.tar.gz
? src/patch03.diff
? src/test.diff
cvs server: Updating .
RCS file: /cvsroot/seq/showeq/CHANGES,v
retrieving revision 1.105
retrieving revision 1.106
Merging differences between 1.105 and 1.106 into CHANGES
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in CHANGES
C CHANGES
cvs server: Updating conf
cvs server: Updating doc
cvs server: Updating maps
cvs server: Updating src
RCS file: /cvsroot/seq/showeq/src/everquest.h,v
retrieving revision 1.51
retrieving revision 1.52
Merging differences between 1.51 and 1.52 into everquest.h
M src/everquest.h
M src/logger.cpp
C src/opcodes.h
[root@localhost showeq]# cvs -d:pserver:[email protected]:/cvsro
ot/seq logout
Logging out of :pserver:[email protected]:2401/cvsroot/seq
[root@localhost showeq]# head -n 10 CHANGES
<<<<<<< CHANGES
<<<<<<< CHANGES
<<<<<<< CHANGES
=======
=======
=======
bbobcat 02/20/03
-----------------------

+ struct update to realign skill values so they work
[root@localhost showeq]# export CC=gcc3 ; export CXX=g++3 ; export QTDIR=/usr/li
b/qt-3.1.1
[root@localhost showeq]# make -f Makefile.dist && ./configure && make -j3 && mak
e install
Adding libtool support...................................... done!
Generating aclocal.m4 from configure.in and acinclude.m4.... done!

Checking Autoheader version................................. done!
>> Using Autoheader version................................. 2.13!

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

Checking Autoconf version................................... done!
>> Using Autoconf version................................... 2.13!

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...
******************************************

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc3... gcc3
checking for g++3... g++3
checking for supported compiler version... yes
checking for gcc... gcc3
checking whether the C compiler (gcc3 ) works... yes
checking whether the C compiler (gcc3 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc3 accepts -g... yes
checking for c++... g++3
checking whether the C++ compiler (g++3 ) works... yes
checking whether the C++ compiler (g++3 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++3 accepts -g... yes
checking how to run the C preprocessor... gcc3 -E
checking for working 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 Cygwin environment... no
checking for mingw32 environment... no
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 how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc3 option to produce PIC... -fPIC
checking if gcc3 PIC flag -fPIC works... yes
checking if gcc3 static flag -static works... yes
checking if gcc3 supports -c -o file.o... yes
checking if gcc3 supports -c -o file.lo... yes
checking if gcc3 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 -lc should be explicitly linked in... no
creating libtool
checking for supported libc version... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for libpng... -lpng -lz -lm
checking for Qt... yes
>> Found version.: 3.1.1
>>> Headers......: /usr/lib/qt-3.1.1/include/
>>>> Libraries...: /usr/lib/qt-3.1.1/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... 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++3 -E
checking for ANSI C header files... no
checking for deque... yes
checking for size_t... yes
checking whether to build with decryption... yes
checking for libEQ.a in /root/showeq ... yes
checking for InitializeLibEQ in /root/showeq/libEQ.a ... 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
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating maps/Makefile
creating conf/Makefile
creating conf.h
Success!
Please run:
make
make all-recursive
make[1]: Entering directory `/root/showeq'
Making all in maps
make[2]: Entering directory `/root/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/showeq/maps'
Making all in src
make[2]: Entering directory `/root/showeq/src'
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 main.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 spawn.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 spawnshell.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 spawnlist.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 spellshell.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 spelllist.cpp
In file included from packet.h:30,
from spawnlist.cpp:35:
opcodes.h:114: parse error before `<<' token
In file included from packet.h:42,
from spawnlist.cpp:35:
/usr/include/netinet/in_systm.h:39: parse error before `}' token
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.1.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/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 vpacket.cpp
make[2]: *** [spawnlist.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2

casey
02-20-2003, 01:08 PM
if i had to go out on a limb and guess, your problem is on line 114 of opcodes.h. fix it, and you should be ok.

is it really that hard to read the stuff you paste before you post it?


if i had to go out an an even more dangerous limb, and guess why your opcodes.h is broken, i would say its because you've been editing your showeq source files without knowing what you are doing. You may notice your cvs update produced conflicts, you may want to perform a fresh checkout, unless you have local mods you want to preserve.

showeqnewb
02-20-2003, 05:29 PM
I didnt edit anything... if its not in the CVS then i dont do it :)

I will try getting a fresh copy from CVS when I get home, thanks for the hand.