[vlc-devel] Compilation error on Solaris

Kuldipsingh Pabla Kuldipsingh.Pabla at Sun.COM
Mon Mar 27 05:44:22 CEST 2006


I have been trying to build VLC for Solaris10U1 for x86/x64 I had to fix 
  on rootwrap to overcome the following compilation error. You may want 
to fix it in the trunk.

#if defined (HAVE_GETEUID) && !defined (SYS_BEOS) && !defined (SYS_SOLARIS)
                                                   ^^^^^^^^^^^^^^^^^^
# define ENABLE_ROOTWRAP 1
#endif


gmake[2]: Entering directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
srcdir=.. builddir=.. ../toolbox --update-version
touch stamp-version
gmake  all-recursive
gmake[3]: Entering directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
gmake[4]: Entering directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -DSYS_SOLARIS -I../include 
`top_builddir=".." ../vlc-config --cflags vlc` -Wsign-compare -Wall 
-D_POSIX_PTHREAD_SEMANTICS -pipe -MT libvlc_a-rootwrap.o -MD -MP -MF 
".deps/libvlc_a-rootwrap.Tpo" -c -o libvlc_a-rootwrap.o `test -f 
'network/rootwrap.c' || echo './'`network/rootwrap.c; \
then mv -f ".deps/libvlc_a-rootwrap.Tpo" ".deps/libvlc_a-rootwrap.Po"; 
else rm -f ".deps/libvlc_a-rootwrap.Tpo"; exit 1; fi
network/rootwrap.c: In function `send_fd':
network/rootwrap.c:121: warning: implicit declaration of function 
`CMSG_SPACE'
network/rootwrap.c:128: error: structure has no member named `msg_control'
network/rootwrap.c:129: error: structure has no member named 
`msg_controllen'
network/rootwrap.c:131: warning: assignment from incompatible pointer type
network/rootwrap.c:134: warning: implicit declaration of function 
`CMSG_FIRSTHDR'
network/rootwrap.c:134: warning: assignment makes pointer from integer 
without a cast
network/rootwrap.c:137: warning: implicit declaration of function `CMSG_LEN'
network/rootwrap.c:138: warning: implicit declaration of function 
`CMSG_DATA'
network/rootwrap.c:138: warning: passing arg 1 of `memcpy' makes pointer 
from integer without a cast
network/rootwrap.c:139: error: structure has no member named 
`msg_controllen'
network/rootwrap.c: In function `rootwrap':
network/rootwrap.c:271: error: `AF_LOCAL' undeclared (first use in this 
function)
network/rootwrap.c:271: error: (Each undeclared identifier is reported 
only oncenetwork/rootwrap.c:271: error: for each function it appears in.)
network/rootwrap.c: In function `recv_fd':
network/rootwrap.c:322: error: structure has no member named `msg_control'
network/rootwrap.c:323: error: structure has no member named 
`msg_controllen'
network/rootwrap.c:325: warning: assignment from incompatible pointer type
network/rootwrap.c:331: warning: assignment makes pointer from integer 
without a cast
network/rootwrap.c:332: warning: implicit declaration of function 
`CMSG_NXTHDR'
network/rootwrap.c:332: warning: assignment makes pointer from integer 
without a cast
network/rootwrap.c:336: warning: comparison between signed and unsigned
network/rootwrap.c:338: warning: passing arg 2 of `memcpy' makes pointer 
from integer without a cast
gmake[4]: *** [libvlc_a-rootwrap.o] Error 1
gmake[4]: Leaving directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/export/home/vlc/plugin/vlc-0.8.5-test1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/vlc/plugin/vlc-0.8.5-test1'
gmake: *** [all] Error 2
dhcp-usca21-191-210:/export/home/vlc/plugin/vlc-0.8.5-test1 >


-- 
Project Buz :: Orchestrated Communication :: http://software.sfbay/buz

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list