Page 1 of 1

I needed to hack 0.8.5 to get it to compile

Posted: 18 May 2006 22:43
by johnclubvec
Vector Linux 4.0 (Slackware based)
gcc version 3.3.6
kernel 2.4.29

Compilation ot the source code halted with undefined references to IPV6_V6ONLY.

This fixed the problem:
I added to the top of src/network/rootwrap.c:

#ifndef IPV6_V6ONLY
# define IPV6_V6ONLY 0
#endif

Compilation then completed normally.

Posted: 20 May 2006 08:23
by Rémi Denis-Courmont
This is not a proper fix; some parts of VLC will not work properly without this. And your libc is probably way out-of-date, so I'm not fixing this.

Posted: 20 May 2006 13:35
by johnclubvec
ldd /bin/sh
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40026000)
libdl.so.2 => /lib/libdl.so.2 (0x4002b000)
libc.so.6 => /lib/libc.so.6 (0x4002e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 13 Nov 27 06:52 /lib/libc.so.6 -> libc-2.3.2.so*

Posted: 20 May 2006 13:40
by Rémi Denis-Courmont
I don't know the SO version numbers of glibc6. But in any case, not setting IPV6_V6ONLY on Linux will result in incorrect VLC semantics with regard to sockets.

glibc development headers have been defining this for several years now. You have to update your system.