Code: Select all
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -o axvlc.dll.exe libaxvlc_a-main.o libaxvlc_a-utils.o libaxvlc_a-olecontrol.o libaxvlc_a-oleinplaceactiveobject.o libaxvlc_a-oleinplaceobject.o libaxvlc_a-oleobject.o libaxvlc_a-persistpropbag.o libaxvlc_a-persiststorage.o libaxvlc_a-persiststreaminit.o libaxvlc_a-provideclassinfo.o libaxvlc_a-connectioncontainer.o libaxvlc_a-objectsafety.o libaxvlc_a-dataobject.o libaxvlc_a-viewobject.o libaxvlc_a-vlccontrol.o libaxvlc_a-plugin.o libaxvlc_a-axvlc_idl.o axvlc_rc.o ./axvlc.def -shared -mwindows -L/usr/win32/lib ../src/libvlc.a ../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 -lole32 -loleaut32 -luuid -lshlwapi -lkernel32 /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lnetapi32 -lwinmm -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 /usr/win32/lib/libdvbpsi.a -lmatroska -lebml -lpostproc -lavformat -lavcodec -lavutil -lz /usr/win32/lib/libfaac.a /usr/win32/lib/libmp3lame.a -lwsock32
libaxvlc_a-main.o:main.cpp:(.text+0x18c): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0x196): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0x1a0): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0x1aa): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0x1b3): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0x1bd): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0x1c7): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0x1d1): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0xdf9): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0xe0c): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0xe32): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0xe3f): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0xe4b): undefined reference to `_CATID_SafeForInitializing'
libaxvlc_a-main.o:main.cpp:(.text+0xe58): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0xe65): undefined reference to `_CATID_SafeForScripting'
libaxvlc_a-main.o:main.cpp:(.text+0xe72): undefined reference to `_CATID_SafeForScripting'
collect2: ld returned 1 exit status
make: *** [axvlc.dll] Error 1
Regards
Brain Lai