[nos-bbs] Opps for got to attch the output file

Bob Nielsen nielsen at oz.net
Mon Sep 25 11:04:40 EDT 2006


On Sep 25, 2006, at 2:35 AM, Larry Shields wrote:

> Bob, have you by any chance tried to compile JNOS2.0e using Ubuntu  
> 6.06...???

I tried it once using Maiko's config.h, but ran into an error and  
haven't run that down.  Here is the tail end of the output where the  
error occurs (it's definitely not obvious to me):

gcc -DUNIX -g3   -DDEVELOPMENT -DDEBUG -W -Wimplicit -Wreturn-type - 
Wswitch -Wpointer-arith -Wcast-qual -Wcast-align -Waggregate-return - 
Wparentheses  -I/usr/include/ncurses -DLCURSES=\"-lncurses\"   -c -o  
tun.o tun.c
In file included from /usr/include/sys/socket.h:35,
                  from /usr/include/linux/if.h:22,
                  from tun.c:40:
/usr/include/bits/socket.h:43: error: syntax error before numeric  
constant
/usr/include/bits/socket.h:53: error: syntax error before numeric  
constant
In file included from /usr/include/sys/socket.h:35,
                  from /usr/include/linux/if.h:22,
                  from tun.c:40:
/usr/include/bits/socket.h:146: error: redefinition of ‘struct sockaddr’
make: *** [tun.o] Error 1





More information about the nos-bbs mailing list