help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with ld on OS X


From: Joe Koski
Subject: Problems with ld on OS X
Date: Wed, 10 Dec 2003 11:30:49 -0700
User-agent: Microsoft-Entourage/10.1.1.2418

I'm trying to build octave-2.1.50 from source on my Mac under OS X 10.2.8.
My compilers are gcc-3.3 and g77-3.4 [gcc version 3.4 20030828
(experimental)]. The gcc-3.3 is from the August 2003 update to the December
2002 Apple SDK. When I give the ./configure the following options
--enable-shared --disable-shared options, per the ScaryOctave web site, the
configure phase finishes without problems.  When I try to "make," it fails
with the following error messages at the end:

/usr/lib/libncurses.dylib(lib_tputs.o) definition of _PC
ld: DASPK.o illegal reference for -dynamic code (section
difference reference from section (__TEXT,__eh_frame) relocation
entry (56) to symbol: std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string[in-charge]<char*>(char*, char*,
std::allocator<char> const&) defined in dylib: ../src/octave)
ld: LSODE.o illegal reference for -dynamic code (section
difference reference from section (__TEXT,__eh_frame) relocation
entry (68) to symbol: std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string[in-charge]<char const*>(char const*, char const*,
std::allocator<char> const&) defined in dylib: ../src/octave)
make[2]: *** [liboctave.so] Error 1
make[1]: *** [liboctave] Error 2
make: *** [all] Error 2

Any suggestions regarding how to get the make file to finish? Thanks for any
help. 

Joe Koski



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]