compiling any of the gnutella variant fails on redhat :(



I've tried compiling *ALL* of the gnutella clones but they all fail with
this error pasted below..

[root@co283505-a:~/src/hagelslag/src/] make
g++ -Wall -O2 -g -DCONSOLE   -c GnutellaMessageHandler.cpp -o
GnutellaMessageHan
dler.o
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/sy
slimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
mits.h:11,
                 from /usr/include/bits/socket.h:31,
                 from /usr/include/sys/socket.h:34,
                 from GnutellaMessageHandler.cpp:13:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
directory
In file included from /usr/include/sys/socket.h:34,
                 from GnutellaMessageHandler.cpp:13:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
make: *** [GnutellaMessageHandler.o] Error 1
[root@co983405-a:~/src/hagelslag/src/]


This is a redhat 6 system... I haven't got a clue where to start on this
because the files that it says are missing, are there and available, i
ended up making a message of my /usr/include/* directories by copying the
*so called missing* files to all directories... 

Here are some of the rpm packages that i have installed (i figure these
are relevant to the particular situation)

libstdc++-compat-2.95-2
libstdc++-2.95.1_2.10.0-3
libstdc++-devel-2.95-2
compat-egcs-g77-5.2-1.0.3a.1
egcs-g77-1.1.2-30
egcs-objc-1.1.2-30
compat-egcs-objc-5.2-1.0.3a.1
compat-egcs-5.2-1.0.3a.1
egcs-c++-1.1.2-24
egcs-1.1.2-30
compat-egcs-c++-5.2-1.0.3a.1


any help would be appreciated because i'm totally clueless on this one! :)


Robert Soros
robert@soros.ath.cx






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]