[vlc-devel] Cross-compiling vlc-1.0.3 Error

Mohamed AbdElwahed mohameeed2010 at hotmail.com
Tue Dec 15 13:36:00 CET 2009



Hi all,

i try to cross-compile(to ARM) vlc-1.0.3 but i get below error:

 

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

libtool: compile: /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -I/ESDU/Mohamed/vlc_Binaries/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=access_file -DMODULE_NAME_IS_access_file -DMODULE_STRING=\"access_file\" -O2 -ffast-math -funroll-loops -fomit-frame-pointer -O3 -mlittle-endian -march=armv5t -mtune=arm9tdmi -nostdinc -I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include -I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/include -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -MT libaccess_file_plugin_la-file.lo -MD -MP -MF .deps/libaccess_file_plugin_la-file.Tpo -c file.c -o libaccess_file_plugin_la-file.o
In file included from /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/string.h:396,
from ../../include/vlc_common.h:50,
from file.c:33:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/bits/string2.h:50:5: warning: "_STRING_ARCH_unaligned" is not defined
In file included from ../../include/vlc_common.h:496,
from file.c:33:
../../include/vlc_mtime.h:80: warning: `error' attribute directive ignored
../../include/vlc_mtime.h:90: warning: `warning' attribute directive ignored
../../include/vlc_mtime.h:108: warning: `error' attribute directive ignored
file.c:52:28: linux/magic.h: No such file or directory
file.c: In function `IsRemote':
file.c:141: error: `AFS_SUPER_MAGIC' undeclared (first use in this function)
file.c:141: error: (Each undeclared identifier is reported only once
file.c:141: error: for each function it appears in.)
file.c:142: error: `CODA_SUPER_MAGIC' undeclared (first use in this function)
file.c:143: error: `NCP_SUPER_MAGIC' undeclared (first use in this function)
file.c:144: error: `NFS_SUPER_MAGIC' undeclared (first use in this function)
file.c:145: error: `SMB_SUPER_MAGIC' undeclared (first use in this function)
file.c: In function `Open':
file.c:164: warning: cast increases required alignment of target type
file.c: In function `Close':
file.c:249: warning: cast increases required alignment of target type
In file included from /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/sys/socket.h:35,
from ../../include/vlc_network.h:67,
from file.c:257:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/bits/socket.h: In function `__cmsg_nxthdr':
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include/bits/socket.h:271: warning: cast increases required alignment of target type
In file included from file.c:257:
../../include/vlc_network.h: In function `net_SockAddrIsMulticast':
../../include/vlc_network.h:292: warning: cast increases required alignment of target type
../../include/vlc_network.h:302: warning: cast increases required alignment of target type
../../include/vlc_network.h: In function `net_GetPort':
../../include/vlc_network.h:342: warning: cast increases required alignment of target type
../../include/vlc_network.h:345: warning: cast increases required alignment of target type
../../include/vlc_network.h: In function `net_SetPort':
../../include/vlc_network.h:356: warning: cast increases required alignment of target type
../../include/vlc_network.h:360: warning: cast increases required alignment of target type
make[5]: *** [libaccess_file_plugin_la-file.lo] Error 1
make[5]: Leaving directory `/ESDU/Wasiem/filesys/Audio_Player/vlc-1.0.3/modules/access'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/ESDU/Wasiem/filesys/Audio_Player/vlc-1.0.3/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/ESDU/Wasiem/filesys/Audio_Player/vlc-1.0.3/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ESDU/Wasiem/filesys/Audio_Player/vlc-1.0.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ESDU/Wasiem/filesys/Audio_Player/vlc-1.0.3'
make: *** [all] Error 2
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
i find on my file system a file named "magic.h" but it does not declare any of "AFS_SUPER_MAGIC"or "NFS_SUPER_MAGIC", ..., .., ...
----------------------------
Any help is highly appreciated
BEST REGARD
  		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091215/834e59f4/attachment.html>


More information about the vlc-devel mailing list