It is currently Mon Oct 23, 2017 9:09 am

All times are UTC [ DST ]




 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: GNUworld compile-time errors
PostPosted: Sun Oct 10, 2010 6:53 pm 

Joined: Sun Oct 10, 2010 6:41 pm
Posts: 1
I'm having trouble compiling GNUworld. I receive the following error(s):

/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


[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


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron