[nos-bbs] Jnos 2.0e & Ubuntu version 6.06 Question

Bob Nielsen nielsen at oz.net
Mon Sep 18 13:01:20 EDT 2006


On Sep 18, 2006, at 8:06 AM, Jaye Inabnit, ke6sls wrote:

>>
>> Here is list of what I now have on my system:
>>
>> g++ 3.4
>> gcc 4.4.0.3-1
>> libc6
>> libc6-dev
>> make 3.80
>> makedepend 1.1.0
>> binutils 2.16
>> binutils-dev
>>
>> Might there be some others that I am missing here...??
>>
>> Thanks to everyone who has replied...
>>
>> Larry
>
> I THINK you will still need ncurses.  Correct me if I'm wrong list.

Yes, you do need ncurses.

I decided try compiling it here.  I'm running Ubuntu 6.06 with kernel  
2.6.15 and gcc 4.03 and glibc (libc6) 2.3.6. The first error I got  
was that curses.h was missing, which I solved by installing  
libncurses5-dev.

I still get an error, but it is a bit more subtle:

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


73 - Bob, N7XY





More information about the nos-bbs mailing list