I needed to hack 0.8.5 to get it to compile

*nix specific usage questions
johnclubvec
Blank Cone
Blank Cone
Posts: 29
Joined: 05 Mar 2004 15:09

I needed to hack 0.8.5 to get it to compile

Postby johnclubvec » 18 May 2006 22:43

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 20 May 2006 08:23

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnclubvec
Blank Cone
Blank Cone
Posts: 29
Joined: 05 Mar 2004 15:09

Postby johnclubvec » 20 May 2006 13:35

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*
Last edited by johnclubvec on 20 May 2006 13:44, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Postby Rémi Denis-Courmont » 20 May 2006 13:40

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests