[vlc-devel] Re: I managed to cross-compile vlc for zaurus.

Yan Lu yan.lu at innovonics.net
Tue Mar 28 03:41:24 CEST 2006


Hi 

I have got errors during building process. The errors are"

--- start pasting -----

g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe
-L/usr/win32/lib -o vlc.exe src/vlc-vlc.o lib/libvlc.a share/vlc_win32_rc.o
./modules/misc/memcpy/libmemcpymmx.a
./modules/video_chroma/libi420_rgb_mmx.a
./modules/video_chroma/libi422_yuy2_mmx.a
./modules/video_chroma/libi420_ymga_mmx.a
./modules/video_chroma/libi420_yuy2_mmx.a
./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a
./modules/demux/liblivedotcom.a ./modules/mux/mpeg/libmux_ts.a
./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a
./modules/stream_out/libstream_out_switcher.a -L/usr/local/lib -g -lkernel32
/usr/win32/lib/libiconv.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a
-lws2_32 -lnetapi32 -lwinmm -mwindows -L/usr/win32/lib
-L/usr/win32/live.com/UsageEnvironment -lUsageEnvironment
-L/usr/win32/live.com/groupsock -lgroupsock
-L/usr/win32/live.com/BasicUsageEnvironment -lBasicUsageEnvironment
-L/usr/win32/live.com/liveMedia -lliveMedia -lws2_32 -ldvbpsi -lz -lmatroska
-lebml -lavformat -lz -lavcodec -lavutil -lz -lfaac -lmp3lame
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function
`InitPostproc__ffmpeg':
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:164: undefined
reference to `_pp_get_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function
`PostprocPict__ffmpeg':
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:191: undefined
reference to `_pp_postprocess'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function
`ClosePostproc__ffmpeg':
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:209: undefined
reference to `_pp_free_mode'
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:210: undefined
reference to `_pp_free_context'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function
`PPQCallback':
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:244: undefined
reference to `_pp_get_mode_by_name_and_quality'
/home/vlc/vlc-0.8.4a/modules/codec/ffmpeg/postprocess.c:244: undefined
reference to `_pp_get_mode_by_name_and_quality'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/home/vlc/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc/vlc-0.8.4a'
make: *** [all] Error 2

----- end pasting --------

I set the flag "--enable-pp --enable-gpl" in configure

Please give me some suggestions. Thanks in advance.

Yan






-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Juan Antonio Martinez Navarro
Sent: Monday, March 27, 2006 9:45 PM
To: vlc-devel
Subject: [vlc-devel] I managed to cross-compile vlc for zaurus.

Hi everyone,

I've eventually got a vlc for the Zaurus SL-C3100.

These are the problems I got during the process:

In the compilation of libavcodec I had too many problems with huffyuv
codec so I decided to compile libavcodec without it.

After execute "ipkg/rules.zaurus config" to run configure with the rules
for Zaurus. I had to change two lines in vlc-config file.

Lines 150 and 155: ldflags ... -ljpeg
I had to put the path to libjpeg.a instead of -ljpeg.
"-L/home/dsl/Sources/jpeg6b/libjpeg.a

Afterwords. When I type ipkg/rules.zaurus or make.


I got several errors related with undefined symbols. That is because
several ".a" files formed with arm-linug-ar but they needs to be formed
with some files more. I made the attached script to change this. 

I hope this could help other people,

Thanks everybody.

-- 
Juan Antonio Martínez Navarro <juanantonio at dif.um.es>
Departamento de Ingeniería de la Información y las Comunicaciones
Facultad de Informática
Universidad de Murcia
Teléfono: +34-968-367938

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by NetIQ MailMarshal.
#####################################################################################

-- 
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