Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] video section of grimoire

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Chris Brien" <christopher_brien AT hotmail.com>
  • To: sergeyli AT pisem.net, leidsterx AT hotmail.com
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] video section of grimoire
  • Date: Tue, 06 Aug 2002 12:42:41 +0100

From: "Sergey A. Lipnevich" <sergeyli AT pisem.net>
Leidster Iks wrote:

>
> For example, when I try to cast smpeg, this is how the compilation ends :
>
> .libs/libsmpeg.so: undefined reference to ` ! Problem Detected !
> operator new[](unsigned)'
> .libs/libsmpeg.so: undefined reference to `operator delete(void*)'
> .libs/libsmpeg.so: undefined reference to `__cxa_pure_virtual'
> .libs/libsmpeg.so: undefined reference to `operator delete[](void*)'
> .libs/libsmpeg.so: undefined reference to `operator new(unsigned)'
> collect2: ld returned 1 exit status
> make[1]: *** [plaympeg] Fout 1
> make[1]: Weggaan uit map `/usr/src/smpeg-0.4.4'


I wonder what language is this :-)?

>
> make: *** [all-recursive] Fout 1
> smpeg: View Compile log for smpeg-0.4.4? [n]
> Creating /var/log/sorcery/compile/smpeg-0.4.4.bz2
>
> Is this a gcc-3 problem ?
>
It sure looks like. I had exactly the same new/delete error messages
with flash plug-in submitted earlier, and it does compile with gcc 2.

The error can be avoided by linking to libstdc++, by adding "-lstdc++" to the $(LIBS) section of the makefile. Gcc3 doesn't automatically link to libstdc++.

I've been working on the flash plugin this morning and am about to submit an updated version that works with gcc3.

Chris
aka zero_the_hero

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx





Archive powered by MHonArc 2.6.24.

Top of Page