GNUworld compile-time errors

Ask your questions about ircu and GNUWorld, share your ideas, and help the coders in their work.
MusashiX90
Posts: 1

GNUworld compile-time errors

Post by MusashiX90 »

I'm having trouble compiling GNUworld. I receive the following error(s):

Code: Select all

/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include    -I../include -I../libgnuworld -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT libgnuworldcore_la-Channel.lo -MD -MP -MF .deps/libgnuworldcore_la-Channel.Tpo -c -o libgnuworldcore_la-Channel.lo `test -f 'Channel.cc' || echo './'`Channel.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I../libgnuworld -W -Wall -pipe -I../libltdl -I../db -g -O0 -pthread -MT libgnuworldcore_la-Channel.lo -MD -MP -MF .deps/libgnuworldcore_la-Channel.Tpo -c Channel.cc  -fPIC -DPIC -o .libs/libgnuworldcore_la-Channel.o
In file included from Channel.cc:33:0:
../include/Network.h:772:26: error: ISO C++ forbids declaration of ‘type name’ with no type
../include/Network.h:772:43: error: template argument 1 is invalid
../include/Network.h:772:43: error: template argument 2 is invalid
../include/Network.h:780:26: error: ISO C++ forbids declaration of ‘type name’ with no type
../include/Network.h:780:43: error: template argument 1 is invalid
../include/Network.h:780:43: error: template argument 2 is invalid
make[1]: *** [libgnuworldcore_la-Channel.lo] Error 1
make[1]: Leaving directory `/home/gnuworld/gnuworld-e2d462d/src'
make: *** [all-recursive] Error 1


Code: Select all

[gnuworld@roshi gnuworld-e2d462d]$ gcc --version
gcc (GCC) 4.5.1


I wasn't able to find anything about this particular error on the forums, and the only suggestions I found online were to add a typedef line somewhere in the code.

Any ideas?

Thanks