[vlc] fstat linking error
Basavaraj Hiremath
hbasava at yahoo.com
Fri Mar 3 12:21:35 CET 2006
Hi,
Could some one tell me, why I am getting this error?
during vlc ompilation(ARM/WinCE), i got "'fstat'
unresolved symbol".
I have given all the library paths...
which arm/wince library contain this function?
Thanks in advance
Raj
Error
======
arm-wince-pe-g++ -mcpu=xscale -Wsign-compare
-Wsign-compare -Wall -I/usr/local/w
ince/cross-tools/include
-I/usr/local/wince/contrib-xscale/include -pipe
-L/usr/
local/wince/cross-tools/lib
-L/usr/local/wince/contrib-xscale/lib -L/usr/local/w
ince/cross-tools/lib/gcc/arm-wince-pe/4.0.0
-L/usr/local/wince/cross-tools/arm-w
ince-pe/lib
-L/usr/local/wince/cross-tools/libexec/gcc/arm-wince-pe/4.0.0
-o vlc
.exe src/vlc-vlc.o lib/libvlc.a
./modules/gui/wince/libwince.a ./modules/misc/du
mmy/libdummy.a ./modules/misc/liblogger.a
./modules/misc/memcpy/libmemcpy.a ./mo
dules/demux/mpeg/libmpgv.a
./modules/demux/mpeg/libmpga.a
./modules/demux/mpeg/l
ibm4v.a ./modules/demux/mpeg/libm4a.a
./modules/demux/mpeg/libh264.a ./modules/d
emux/libps.a ./modules/demux/libpva.a
./modules/demux/avi/libavi.a ./modules/dem
ux/asf/libasf.a ./modules/demux/mp4/libmp4.a
./modules/demux/librawdv.a ./module
s/demux/libnsv.a ./modules/demux/libreal.a
./modules/demux/libaiff.a ./modules/d
emux/libmjpeg.a ./modules/demux/libdemuxdump.a
./modules/demux/libflac.a ./modul
es/codec/libcvdsub.a ./modules/codec/libsvcdsub.a
./modules/codec/spudec/libspud
ec.a ./modules/codec/libsubsdec.a
./modules/codec/libdvbsub.a ./modules/codec/li
bmpeg_audio.a ./modules/codec/liblpcm.a
./modules/codec/liba52.a ./modules/codec
/libdts.a ./modules/codec/libcinepak.a
./modules/codec/libflacdec.a ./modules/vi
deo_filter/libdeinterlace.a
./modules/video_filter/libinvert.a ./modules/video_f
ilter/libadjust.a
./modules/video_filter/libtransform.a
./modules/video_filter/l
ibdistort.a ./modules/video_filter/libmotionblur.a
./modules/video_filter/librv3
2.a
./modules/audio_filter/converter/libfixed32tos16.a
./modules/audio_filter/co
nverter/libs16tofixed32.a
./modules/audio_filter/converter/libu8tofixed32.a
./mo
dules/audio_filter/resampler/libtrivial_resampler.a
./modules/audio_filter/resam
pler/libugly_resampler.a
./modules/audio_filter/channel_mixer/libtrivial_channl
_mixer.a ./modules/audio_mixer/libtrivial_mixer.a
./modules/demux/playlist/libpl
> aylist.a ./modules/misc/playlist/libexport.a
> ./modules/demux/libsgimb.a ./module
> s/demux/libm3u.a ./modules/demux/libnsc.a
> ./modules/misc/xml/libxtag.a ./modules
> /video_chroma/libi420_rgb.a
> ./modules/codec/librawvideo.a ./modules/video_filter
> /libblend.a ./modules/video_filter/libscale.a
> ./modules/video_output/libimage.a
> ./modules/video_filter/liblogo.a
> ./modules/demux/libwav.a ./modules/codec/libara
> w.a ./modules/demux/libsubtitle.a
> ./modules/demux/libvobsub.a ./modules/codec/li
> badpcm.a ./modules/demux/liba52sys.a
> ./modules/demux/libdtssys.a ./modules/demux
> /libau.a ./modules/demux/libty.a
> ./modules/demux/libvoc.a ./modules/demux/libxa.
> a ./modules/demux/libnuv.a
> ./modules/access/libaccess_directory.a
> ./modules/acce
> ss/libaccess_file.a ./modules/access/libaccess_udp.a
> ./modules/access/libaccess_
> tcp.a ./modules/access/libaccess_http.a
> ./modules/access/mms/libaccess_mms.a ./m
> odules/access/libaccess_ftp.a
> ./modules/misc/network/libipv4.a ./modules/packeti
> zer/libpacketizer_mpegvideo.a
> ./modules/packetizer/libpacketizer_h264.a ./module
> s/packetizer/libpacketizer_mpeg4video.a
> ./modules/packetizer/libpacketizer_mpeg4
> audio.a ./modules/misc/libwin32text.a
> ./modules/control/http/libhttp.a ./modules
> /demux/libts.a ./modules/codec/cmml/libcmml.a
> ./modules/video_output/libwingdi.a
> ./modules/video_output/libwingapi.a
> ./modules/audio_output/libwaveout.a ./modul
> es/visualization/visual/libvisual.a
> -L/usr/local/wince/lib -lws2 -e WinMainCRTSt
> artup -L/usr/local/wince/cross-tools/lib
> -L/usr/local/wince/contrib-xscale/lib -
>
L/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.0.0
> -L/usr/local/wince/cros
> s-tools/arm-wince-pe/lib
>
-L/usr/local/wince/cross-tools/libexec/gcc/arm-wince-pe
> /4.0.0 ./modules/gui/wince/wince_rc.o -lcommctrl
> -lcommdlg -laygshell -lws2 -lws
> 2 -lws2 -lws2 -lws2 -lws2 -lws2 -ldvbpsi
> lib/libvlc.a
> Warning: .drectve `/DEFAULTLIB:"coredll.lib"
> /DEFAULTLIB:"corelibc.lib" ' unreco
> gnized
> Warning: .drectve `/DEFAULTLIB:"coredll.lib"
> /DEFAULTLIB:"corelibc.lib" ' unreco
> gnized
> Warning: .drectve `/DEFAULTLIB:"coredll.lib"
> /DEFAULTLIB:"corelibc.lib" ' unreco
> gnized
>
./modules/access/libaccess_directory.a(libaccess_directory_a-directory.o):direct
> ory.c:(.text+0x268): undefined reference to `stat'
>
./modules/access/libaccess_directory.a(libaccess_directory_a-directory.o):direct
> ory.c:(.text+0x588): undefined reference to `stat'
>
./modules/access/libaccess_file.a(libaccess_file_a-file.o):file.c:(.text+0x3e4):
> undefined reference to `stat'
>
./modules/access/libaccess_file.a(libaccess_file_a-file.o):file.c:(.text+0x5b4):
> undefined reference to `stat'
>
./modules/access/libaccess_file.a(libaccess_file_a-file.o):file.c:(.text+0x1090)
> : undefined reference to `fstat'
>
./modules/control/http/libhttp.a(libhttp_a-util.o):util.c:(.text+0x390):
> undefin
> ed reference to `stat'
>
./modules/control/http/libhttp.a(libhttp_a-mvar.o):mvar.c:(.text+0x16e0):
> undefi
> ned reference to `stat'
>
./modules/control/http/libhttp.a(libhttp_a-mvar.o):mvar.c:(.text+0x17a8):
> undefi
> ned reference to `stat'
>
./modules/control/http/libhttp.a(libhttp_a-mvar.o):mvar.c:(.text+0x1998):
> undefi
> ned reference to `ctime'
> collect2: ld returned 1 exit status
> make[2]: *** [vlc.exe] Error 1
> make[2]: Leaving directory
> `/home/raj/VLC/wince/vlc-0.8.4a'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/raj/VLC/wince/vlc-0.8.4a'
> make: *** [all] Error 2
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list