[Cs-dev] error while building fltk
Date | 2005-11-09 04:34 |
From | Olivier BĂ©langer |
Subject | [Cs-dev] error while building fltk |
hi all, I try to install cs5 on MAC OS 10.4 and when I build fltk, I get this error: gcc -dynamiclib -lc -o libfltk.1.1.dylib ... ld: Undefined symbols: __ZdlPv __Znwm __ZTVN10__cxxabiv120__si_class_type_infoE __ZdaPv __Znam ___cxa_pure_virtual __ZTVN10__cxxabiv117__class_type_infoE /usr/bin/libtool: internal link edit command failed make[1]: *** [libfltk.1.1.dylib] Error 1 Is there somebody tell me why? Thanks Olivier ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-11-09 08:57 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] error while building fltk |
Is this the first build, or was there an fltk in /usr/local/lib before. Some of these symbols appear to be stdc++ lib symbols. Did you do ./configure? Try checking for ./configure options; make sure you build --enable-shared and --enable-threads. Perhaps try to add -lstdc++ to the configure options. I remember last time I built ffltk 1.1.6, I had to fix some of the search directories adding the local directory etc. with ./configure. Victor At 04:34 09/11/2005, you wrote: >hi all, > >I try to install cs5 on MAC OS 10.4 and when I build fltk, I get this >error: > >gcc -dynamiclib -lc -o libfltk.1.1.dylib ... >ld: Undefined symbols: >__ZdlPv >__Znwm >__ZTVN10__cxxabiv120__si_class_type_infoE >__ZdaPv >__Znam >___cxa_pure_virtual >__ZTVN10__cxxabiv117__class_type_infoE >/usr/bin/libtool: internal link edit command failed >make[1]: *** [libfltk.1.1.dylib] Error 1 > >Is there somebody tell me why? > >Thanks > >Olivier > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-11-09 10:29 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] error while building fltk |
I just checked; you will need to set the environment variable LDFLAGS=-lstdc++ before running ./configure. You can do this export LDFLAGS=-lstdc++ ; ./configure --enable-shared --enable-threads this is because the gcc command is being used to call the linker and it does not pass on the stdc++ library Victor At 04:34 09/11/2005, you wrote: >hi all, > >I try to install cs5 on MAC OS 10.4 and when I build fltk, I get this >error: > >gcc -dynamiclib -lc -o libfltk.1.1.dylib ... >ld: Undefined symbols: >__ZdlPv >__Znwm >__ZTVN10__cxxabiv120__si_class_type_infoE >__ZdaPv >__Znam >___cxa_pure_virtual >__ZTVN10__cxxabiv117__class_type_infoE >/usr/bin/libtool: internal link edit command failed >make[1]: *** [libfltk.1.1.dylib] Error 1 > >Is there somebody tell me why? > >Thanks > >Olivier > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |