type S_REGULAR does not match previous objects type S_COALESCED

Anton van Oosten anton.van.oosten at telenet.be
Tue Oct 21 14:21:38 PDT 2008


If I remove the overloading gcc, so that the /usr/bin/gcc is used, I  
still get the error.
It looks like I have a really old libstdc++.a in usr/local/lib.
If I move that I get

Building pdflib with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_p 
dflib/work/PDFlib-Lite-7.0.3" && make all " returned error 2
Command output: make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
../../../libtool --silent --mode=compile /usr/bin/g++-4.0 - 
DPDF_TARGET_API_MAC_CLASSIC -c -I../../../libs/pdflib -I/opt/local/ 
include -I/Developer/Headers/FlatCarbon  -O2 hello.cpp
../../../libtool --silent --mode=link /usr/bin/g++-4.0 - 
DPDF_TARGET_API_MAC_CLASSIC -static -o hello hello.lo -O2 -L/opt/ 
local/lib -framework ApplicationServices  ../../../libs/pdflib/ 
libs_libpdf.la pdflib.lo -lstdc++
powerpc-apple-darwin8-g++-4.0.1: /usr/local/lib/libstdc++.a: No such  
file or directory
make[3]: *** [hello] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: gnuplot pdflib  
gsed hdf5 pcre texinfo lzmautils texlive texlive_base texi2html  
texlive_texmf-full texlive_texmf-minimal
Error: Status 1 encountered during processing.

Perhaps my /usr/local/lib/libstdc++.a is too old:
13112 -rw-r--r--   1 root  staff  6710336 Dec 20  2002 /usr/local/lib/ 
libstdc++.a
     8 -rwxr-xr-x   1 root  staff      882 Dec 20  2002 /usr/local/ 
lib/libstdc++.la

Removing it does not help, since this library is invoked explicitly  
in the install process.
How do I make sure that the right libraries are used? Without  
building libstdc myself if in any way possible...)

regards

Anton

Op 20-okt-08, om 22:42 heeft Bryan Blackburn het volgende geschreven:

> On Mon, Oct 20, 2008 at 08:03:35PM +0200, Anton van Oosten said:
>> I encounter a problem with pdflib when I install octave.
>> At pdflib I encounter the error:  "type S_REGULAR does not match
>> previous objects type S_COALESCED".
>>
>> Who knows the fix?
>>
>> Regards
>>
>> Anton
>>
>> sudo port install octave
>> Password:
>> --->  Building pdflib with target all
>> Error: Target org.macports.build returned: shell command " cd "/opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_prin 
>> t_p
>> dflib/work/PDFlib-Lite-7.0.3" && make all " returned error 2
>> Command output: /usr/bin/ld: /usr/local/lib/libstdc++.a(ostream-
>> inst.o) section's (__TEXT,__eh_frame) type S_REGULAR does not match
>> previous objects type S_COALESCED
>
> You appear to have an install of gcc in /usr/local that seems to be  
> getting
> in the way of using the one installed with Xcode (it should be  
> using the one
> in /usr/lib instead).
>
> Bryan
>
> [...]
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>



More information about the macports-users mailing list