[nos-bbs] Compiling JNOS with TUN0 on Ubuntu 6.06

Bill V WA7NWP wa7nwp at gmail.com
Tue Feb 8 01:16:07 EST 2011


I think I've done this before...  Maybe now with the tunnel driver.
I'm trying to compile the latest and greatest JNOS on a 6.06 Ubuntu
system and I've run into this bug.

  https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/69838

gcc -DUNIX -g3   -DDEBUG -Wall   -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:41:
/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:41:
/usr/include/bits/socket.h:146: error: redefinition of âstruct sockaddrâ
make: *** [tun.o] Error 1
vodall at srv02:/work/jnos/latestSource$


Wasn't this what was fixed by the kernel patch to the last full source
tar release?

Thanks,
Bill - WA7NWP

(I'm oh so close to being back on the air with JNOS....  Yippeeeee.)




More information about the nos-bbs mailing list