Public bug reported:

trying to compile Maiko's JNOS2 package:
www.physics.umanitoba.ca/~maiko/jnos2_fc5src.tar.gz
I get the following errors on both Dapper and Edgy systems:

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

It appears these problems are in the libc6-dev header files, not his
source.

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Multiple definition of 'struct sockaddr'
https://launchpad.net/bugs/69838

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to