[vlc-devel] ___assert undefined while linking audio_output module
Frédéric RUGET
frederic.ruget at free.fr
Fri Oct 1 00:15:49 CEST 2004
Hello,
I have an asio.cpp audio_output module that is linked
with object files from Steinberg's ASIO SDK (C++ source).
When creating libasio_plugin_a-asio.o, the linker does
not find several (C++ related?) symbols :
___gxx_personality_sj0, new, delete, ___assert,
constructor stuff. (see compilation log below).
Anyone knows the reason for this ?
Regards,
Frédéric
if
g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/us
r/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -../../include
`top_builddir="../.." ../../vlc-config --cxxflags plugin
asio` -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -MT
libasio_plugin_a-asio.o -MD -MP -MF ".deps/libasio_plugin_a-asio.Tpo" -c -o
libasio_plugin_a-asio.o `test -f 'asio.cpp' || echo './'`asio.cpp; \
then mv -f ".deps/libasio_plugin_a-asio.Tpo"
".deps/libasio_plugin_a-asio.Po"; else rm -f
".deps/libasio_plugin_a-asio.Tpo"; exit 1; fi
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -
o libasio_plugin.dll libasio_plugin_a-asio.o `top_builddir=../..
../../vlc-config --
libs plugin asio`
/home/frede/titi/libportaudio.a(asiodrivers.o)(.text+0xc):asiodrivers.cpp:
undefined reference to `___gxx_personality_sj0'
/home/frede/titi/libportaudio.a(asiodrivers.o)(.text+0x9d):asiodrivers.cpp:
undefined reference to `operator new(unsigned)'
/home/frede/titi/libportaudio.a(asiodrivers.o)(.text+0xee):asiodrivers.cpp:
undefined reference to `operator delete(void*)'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.text+0x96):iasioth
iscallresolver.cpp: undefined reference to `___assert'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.text+0xc6):iasioth
iscallresolver.cpp: undefined reference to `___assert'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.text+0xf6):iasioth
iscallresolver.cpp: undefined reference to `___assert'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.rdata$_ZTI21IASIOT
hiscallResolver+0x0):iasiothiscallresolver.cpp: undefined reference to
`vtable for _
_cxxabiv1::__si_class_type_info'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.rdata$_ZTI5IASIO+0
x0):iasiothiscallresolver.cpp: undefined reference to `vtable for
__cxxabiv1::__si_c
lass_type_info'
/home/frede/titi/libportaudio.a(iasiothiscallresolver.o)(.rdata$_ZTI8IUnknow
n+0x0):iasiothiscallresolver.cpp: undefined reference to `vtable for
__cxxabiv1::__c
lass_type_info'
/home/frede/titi/libportaudio.a(asiolist.o)(.text+0x1e1):asiolist.cpp:
undefined reference to `operator delete(void*)'
/home/frede/titi/libportaudio.a(asiolist.o)(.text+0x241):asiolist.cpp:
undefined reference to `operator delete(void*)'
/home/frede/titi/libportaudio.a(asiolist.o)(.text+0x5f7):asiolist.cpp:
undefined reference to `operator new[](unsigned)'
/home/frede/titi/libportaudio.a(asiolist.o)(.text+0x712):asiolist.cpp:
undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
--
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