[MPlayer-cvslog] r24262 - in trunk: Makefile command.c get_path.c get_path.h gui/cfg.c gui/interface.c gui/interface.h input/input.c libaf/af_export.c libass/ass_mp.c libmpcodecs/dec_audio.c libmpcodecs/dec_video.c libvo/font_load.c libvo/font_load_ft.c libvo/vo_dxr2.c mencoder.c mp_core.h mplayer.c stream/stream_dvb.c

JonY 10walls at gmail.com
Tue Aug 28 17:39:34 CEST 2007


Hi,
I think the problem primarily affects Windows because I still ran into 
the same problem as Compn even after a fresh svn checkout (r24263). Also 
regarding get_path, I got this warning while building it.

gcc -pipe -I./libavcodec -I./libavformat -Wdisabled-optimization 
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil 
-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i486 
-mtune=generic -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-DHAVE_CONFIG_H -I/f/live -I/mingw/include/ -I/mingw/include/SDL 
-D_GNU_SOURCE=1  -I/mingw/include/freetype2 -I/mingw/include 
-I/mingw/include -I/mingw/include -I/mingw/include/dvdnav   -c -o 
get_path.o get_path.c
get_path.c: In function 'get_path':
get_path.c:49: warning: implicit declaration of function 
'GetModuleFileNameA'
get_path.c: In function 'set_path_env':
get_path.c:146: warning: implicit declaration of function 
'SetEnvironmentVariableA'


Later (same as Compn),

........
........
Info: resolving _IF2block_size by linking to __imp__IF2block_size 
(auto-importWarning: resolving _GetModuleFileNameA by linking to 
_GetModuleFileNameA at 12
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
get_path.o:get_path.c:(.text+0x105): undefined reference to 
`_SetEnvironmentVariableA)

$ nm /mingw/lib/libkernel32.a |grep SetEnvironmentVariableA
00000000 T _SetEnvironmentVariableA at 8
00000000 I __imp__SetEnvironmentVariableA at 8

SetEnvironmentVariableA is found in libkernel32.a but its not getting 
resolved.



More information about the MPlayer-cvslog mailing list