help-octave
[Top][All Lists]
Advanced

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

Re: Problems with ld on OS X


From: Per Persson
Subject: Re: Problems with ld on OS X
Date: Wed, 10 Dec 2003 20:39:17 +0100

Joe,
--enable-shared --disable-static is bound to fail on OS X. Getting that to work with 10.2.8 will require changes to octave sources. Don't know about 10.3 but I wouldn't put my money on it.

/Per

PS. The relevant part of ScaryOctave for OS X install says "run './configure' _without_ arguments"...
see System Specific Instructions at the bottom of the page.


On Wednesday, December 10, 2003, at 07:30 PM, Joe Koski wrote:

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
-------------------------------------------------------------


/Per



-------------------------------------------------------------
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]