Tawnosi
05-25-2004, 02:16 PM
I've tried searching on this but i'm sure there is something i've missed. I'm using redhat 7.3 and attempting to compile showeq version 4.3.21.
[root@localhost showeq]# gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure
Thread model: posix
gcc version 3.4.0
[root@localhost showeq]# g++ -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure
Thread model: posix
gcc version 3.4.0
[root@localhost showeq]# make -f Makefile.dist
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...
******************************************
[root@localhost showeq]# ./configure
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 /usr/local/bin/gcc... no
checking for gcc... gcc
checking for /usr/local/bin/g++... no
checking for g++... g++
checking for supported compiler version... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -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 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 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.3.2
>>> Headers......: /usr/local/qt/include/
>>>> Libraries...: /usr/local/qt/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++ -E
checking for ANSI C header files... no
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
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
[root@localhost showeq]# make
make all-recursive
make[1]: Entering directory `/home/jay/showeq'
Making all in maps
make[2]: Entering directory `/home/jay/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jay/showeq/maps'
Making all in src
make[2]: Entering directory `/home/jay/showeq/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/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
In file included from spawn.h:33,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:34:
point.h:134: error: non-template `Point3D' used as template
point.h:134: error: (use `Point3D<_T>::template Point3D' to indicate that it is a template)
point.h:312: error: expected class-name before ';' token
point.h:312: error: variable or field `Point3D' declared void
point.h:312: error: `Point3D<_T>::Point3D' declared as an `inline' variable
point.h:312: error: `int Point3D<_T>::Point3D' is not a static member of `class Point3D<_T>'
point.h:312: error: template definition of non-template `int Point3D<_T>::Point3D'
point.h:315: error: expected init-declarator before '<' token
point.h:315: error: expected `;' before '<' token
point.h:321: error: expected init-declarator before '<' token
point.h:321: error: expected `;' before '<' token
point.h:351: error: expected init-declarator before '<' token
point.h:351: error: expected `;' before '<' token
point.h:360: error: expected init-declarator before '<' token
point.h:360: error: expected `;' before '<' token
point.h:366: error: expected init-declarator before '<' token
point.h:366: error: expected `;' before '<' token
point.h:372: error: expected init-declarator before '<' token
point.h:372: error: expected `;' before '<' token
point.h:378: error: expected init-declarator before '<' token
point.h:378: error: expected `;' before '<' token
point.h:392: error: expected init-declarator before '<' token
point.h:392: error: expected `;' before '<' token
point.h:423: error: expected init-declarator before '<' token
point.h:423: error: expected `;' before '<' token
point.h:438: error: expected init-declarator before '<' token
point.h:438: error: expected `;' before '<' token
point.h:470: error: expected init-declarator before '<' token
point.h:470: error: expected `;' before '<' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/jay/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jay/showeq'
make: *** [all-recursive-am] Error 2
Any ideas, even with flames and directions to hookedonphonics?
[root@localhost showeq]# gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure
Thread model: posix
gcc version 3.4.0
[root@localhost showeq]# g++ -v
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ./configure
Thread model: posix
gcc version 3.4.0
[root@localhost showeq]# make -f Makefile.dist
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...
******************************************
[root@localhost showeq]# ./configure
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 /usr/local/bin/gcc... no
checking for gcc... gcc
checking for /usr/local/bin/g++... no
checking for g++... g++
checking for supported compiler version... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -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 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 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.3.2
>>> Headers......: /usr/local/qt/include/
>>>> Libraries...: /usr/local/qt/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++ -E
checking for ANSI C header files... no
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
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
[root@localhost showeq]# make
make all-recursive
make[1]: Entering directory `/home/jay/showeq'
Making all in maps
make[2]: Entering directory `/home/jay/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jay/showeq/maps'
Making all in src
make[2]: Entering directory `/home/jay/showeq/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/qt/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
In file included from spawn.h:33,
from spawnlistcommon.h:26,
from spawnlist.h:47,
from interface.h:33,
from main.cpp:34:
point.h:134: error: non-template `Point3D' used as template
point.h:134: error: (use `Point3D<_T>::template Point3D' to indicate that it is a template)
point.h:312: error: expected class-name before ';' token
point.h:312: error: variable or field `Point3D' declared void
point.h:312: error: `Point3D<_T>::Point3D' declared as an `inline' variable
point.h:312: error: `int Point3D<_T>::Point3D' is not a static member of `class Point3D<_T>'
point.h:312: error: template definition of non-template `int Point3D<_T>::Point3D'
point.h:315: error: expected init-declarator before '<' token
point.h:315: error: expected `;' before '<' token
point.h:321: error: expected init-declarator before '<' token
point.h:321: error: expected `;' before '<' token
point.h:351: error: expected init-declarator before '<' token
point.h:351: error: expected `;' before '<' token
point.h:360: error: expected init-declarator before '<' token
point.h:360: error: expected `;' before '<' token
point.h:366: error: expected init-declarator before '<' token
point.h:366: error: expected `;' before '<' token
point.h:372: error: expected init-declarator before '<' token
point.h:372: error: expected `;' before '<' token
point.h:378: error: expected init-declarator before '<' token
point.h:378: error: expected `;' before '<' token
point.h:392: error: expected init-declarator before '<' token
point.h:392: error: expected `;' before '<' token
point.h:423: error: expected init-declarator before '<' token
point.h:423: error: expected `;' before '<' token
point.h:438: error: expected init-declarator before '<' token
point.h:438: error: expected `;' before '<' token
point.h:470: error: expected init-declarator before '<' token
point.h:470: error: expected `;' before '<' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/jay/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jay/showeq'
make: *** [all-recursive-am] Error 2
Any ideas, even with flames and directions to hookedonphonics?