[vlc-devel] Re: SVN WinCE compile woes - compiles ok, still no run

James MacLean macleajb at ednet.ns.ca
Mon Aug 1 23:12:39 CEST 2005


Gildas Bazin wrote:

>On Monday 01 August 2005 19:54, James MacLean wrote:
>  
>
>>> 
>>>
>>>      
>>>
>>Hi Gildas,
>>
>>You are correct. I blew away and re-svn'd the trunk and it compiled fine 
>>:).
>>
>>Tried it as I always do once in a while against my Pocket PC 2002 Axim, 
>>and it still complains about missing pieces :(.
>>
>>    
>>
>
>Yeah, that's expected since the problem comes from the compiler toolchain 
>and not the VLC source code itself.
>
>You could try to get rid of --disable-plugins when configuring VLC. That 
>should reduce the size of the main executable so it might not trigger the 
>linker bug anymore (although I'm not too hopeful about this).
>
>--
>Gildas
>
>  
>
Always willing to try :). Compile got this far :

make[4]: Entering directory 
`/mnt/raid/usr/local/src/VCD/SoftWare/VLC/vlc-trunk-axim/modules/video_output'
if arm-wince-pe-gcc -mcpu=xscale -DHAVE_CONFIG_H -I. -I. -I../..   
-D_OFF_T_ -D_off_t=long -DSYS_MINGWCE -I../../include 
`top_builddir="../.." ../../vlc-config --cflags plugin wingdi` 
-Wsign-compare -Wall  -I/usr/local/wince/contrib-xscale/include -pipe 
-MT libwingdi_plugin_a-wingdi.o -MD -MP -MF 
".deps/libwingdi_plugin_a-wingdi.Tpo" -c -o libwingdi_plugin_a-wingdi.o 
`test -f 'wingdi.c' || echo './'`wingdi.c; \
then mv -f ".deps/libwingdi_plugin_a-wingdi.Tpo" 
".deps/libwingdi_plugin_a-wingdi.Po"; else rm -f 
".deps/libwingdi_plugin_a-wingdi.Tpo"; exit 1; fi
In file included from ../../include/vlc_common.h:450,
                 from ../../include/vlc/vlc.h:149,
                 from wingdi.c:31:
../../include/vlc_threads.h:152: warning: '__stdcall__' attribute 
directive ignored
../../include/vlc_threads.h:153: warning: '__stdcall__' attribute 
directive ignored
wingdi.c:92:1: warning: "SetWindowLongPtr" redefined
In file included from 
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/windows.h:55,
                 from ../../include/vlc_common.h:442,
                 from ../../include/vlc/vlc.h:149,
                 from wingdi.c:31:
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/include/winuser.h:4072:1: 
warning: this is the location of the previous definition
wingdi.c:93:1: warning: "GetWindowLongPtr" redefined
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/include/winuser.h:4017:1: 
warning: this is the location of the previous definition
wingdi.c:94:1: warning: "GWLP_USERDATA" redefined
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/include/winuser.h:801:1: 
warning: this is the location of the previous definition
wingdi.c:120: warning: '__stdcall__' attribute directive ignored
wingdi.c:212: warning: '__cdecl__' attribute directive ignored
wingdi.c: In function 'Manage':
wingdi.c:474: warning: pointer targets in passing argument 4 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:474: warning: pointer targets in passing argument 5 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:474: warning: pointer targets in passing argument 6 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:474: warning: pointer targets in passing argument 7 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:492: warning: unused variable 'i_style'
wingdi.c: In function 'EventThread':
wingdi.c:805: warning: signed and unsigned type in conditional expression
wingdi.c:805: warning: signed and unsigned type in conditional expression
wingdi.c: In function 'UpdateRects':
wingdi.c:959: warning: pointer targets in passing argument 4 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:959: warning: pointer targets in passing argument 5 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:959: warning: pointer targets in passing argument 6 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c:959: warning: pointer targets in passing argument 7 of 
'p_symbols->vout_PlacePicture_inner' differ in signedness
wingdi.c: At top level:
wingdi.c:1038: warning: '__stdcall__' attribute directive ignored
wingdi.c: In function 'WndProc':
wingdi.c:1149: warning: comparison between signed and unsigned
wingdi.c: In function 'InitBuffers':
wingdi.c:1172: warning: unused variable 'i_pixels'
arm-wince-pe-gcc -mcpu=xscale -Wsign-compare -Wall 
-I/usr/local/wince/contrib-xscale/include -pipe 
-L/usr/local/wince/contrib-xscale/lib -o libwingdi_plugin.dll 
libwingdi_plugin_a-wingdi.o `top_builddir=../.. ../../vlc-config --libs 
plugin wingdi`
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" 
' unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" 
' unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" 
' unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" 
' unrecognized
libwingdi_plugin_a-wingdi.o:wingdi.c:(.text+0xde4): undefined reference 
to `SHFullScreen'
libwingdi_plugin_a-wingdi.o:wingdi.c:(.text+0xde4): relocation truncated 
to fit: ARM_26 against undefined symbol `SHFullScreen'
libwingdi_plugin_a-wingdi.o:wingdi.c:(.text+0xe68): undefined reference 
to `SHFullScreen'
libwingdi_plugin_a-wingdi.o:wingdi.c:(.text+0xe68): relocation truncated 
to fit: ARM_26 against undefined symbol `SHFullScreen'
collect2: ld returned 1 exit status
make[4]: *** [libwingdi_plugin.dll] Error 1

JES
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3684 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050801/80c71fa6/attachment.bin>


More information about the vlc-devel mailing list