i've successly cross compiled gnash-0.8.6 for arm,and i've got the sdl-gnash
binary after the "make" option.but for some reason i want to get a static
version of the executable binary.so i added " --disable-shared
--enable-static" to the configure option.unfortunately,it failed with the
mistake showing below:
"
/home/work/gnash-0.8.6/libmedia/.libs/libgnashmedia.a(libgnashmedia_la-AudioInputGst.o):
In function `gnash::media::gst::GnashAudio::GnashAudio()':
AudioInputGst.cpp:(.text+0x0): multiple definition of
`gnash::media::gst::GnashAudio::GnashAudio()'
../libcore/.libs/libgnashcore.a(Microphone_as.o):Microphone_as.cpp:(.text+0x0):
first defined here
/home/work/gnash-0.8.6/libmedia/.libs/libgnashmedia.a(libgnashmedia_la-AudioInputGst.o):
In function `gnash::media::gst::GnashAudio::GnashAudio()':
AudioInputGst.cpp:(.text+0x54): multiple definition of
`gnash::media::gst::GnashAudio::GnashAudio()'
../libcore/.libs/libgnashcore.a(Microphone_as.o):Microphone_as.cpp:(.text+0x54):
first defined here
/home/work/gnash-0.8.6/libmedia/.libs/libgnashmedia.a(libgnashmedia_la-AudioInputGst.o):
In function `gnash::media::gst::GnashAudioPrivate::GnashAudioPrivate()':
AudioInputGst.cpp:(.text+0xa8): multiple definition of
`gnash::media::gst::GnashAudioPrivate::GnashAudioPrivate()'
../libcore/.libs/libgnashcore.a(Microphone_as.o):Microphone_as.cpp:(.text+0xa8):
first defined here
/home/work/gnash-0.8.6/libmedia/.libs/libgnashmedia.a(libgnashmedia_la-AudioInputGst.o):
In function `gnash::media::gst::GnashAudioPrivate::GnashAudioPrivate()':
AudioInputGst.cpp:(.text+0x150): multiple definition of
`gnash::media::gst::GnashAudioPrivate::GnashAudioPrivate()'
../libcore/.libs/libgnashcore.a(Microphone_as.o):Microphone_as.cpp:(.text+0x150):
first defined here
collect2: ld returned 1 exit status
make[2]: *** [gprocessor] 错误 1
make[2]:正在离开目录 `/home/work/gnash-0.8.6/utilities'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/work/gnash-0.8.6'
make: *** [all] 错误 2
"
how to cross compile gnash in a static way?
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev