help-octave
[Top][All Lists]
Advanced

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

Fwd: mkoctfile problems with Octave 3.4.0, OSX 10.6.7


From: Liam Groener
Subject: Fwd: mkoctfile problems with Octave 3.4.0, OSX 10.6.7
Date: Thu, 21 Apr 2011 03:17:40 -0700



Sent from my iPad

Begin forwarded message:

From: Scott Wardle <address@hidden>
Date: April 20, 2011 6:12:28 PM PDT
To: Liam Groener <address@hidden>
Subject: Re: mkoctfile problems with Octave 3.4.0, OSX 10.6.7

I edited the mkoctfile-3.4.0 as suggested in "Package problem on mac octave" thread.
However, I am compiling code with MEX functions (--mex option) and all the typical Matlab mex function calls are now undefined:

Undefined symbols:
 "_mxGetM", referenced from:
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
 "_mxGetN", referenced from:
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
 "_mxIsComplex", referenced from:
     _mexFunction in bitparitycheck.o
 "_mexErrMsgTxt", referenced from:
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
 "_mxCreateDoubleMatrix", referenced from:
     _mexFunction in bitparitycheck.o
 "_mxGetPr", referenced from:
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
     _mexFunction in bitparitycheck.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

What else do I need to do to get this working?

Thanks!

On Apr 20, 2011, at 4:08 PM, Liam Groener wrote:

Sent from my iPad

On Apr 20, 2011, at 2:46 PM, Scott Wardle <address@hidden> wrote:

Sorry if this question has already been answered, but I'm unable to get mkoctfile to work at all
on my system.  I'm running Octave 3.4.0 on OSX 10.6.7.  

When I run mkoctfile I get these errors:

ld: warning: directory '/tmp/deps-i386/lib' following -L not found
ld: warning: directory '/tmp/deps-i386/lib/gcc/i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/private/tmp/deps-i386/bin/../lib/gcc/i686-apple-darwin10/4.2.1' following -L not found
ld: warning: directory '/private/tmp/deps-i386/bin/../lib/gcc' following -L not found
ld: warning: directory '/private/tmp/deps-i386/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..' following -L not found
ld: library not found for -lgfortranbegin
collect2: ld returned 1 exit status

I have all the latest Apple developer tools installed (XCode 3.2.5, etc.)

Is there something I'm doing wrong?

Any help will be

This sounds like the same problem discussed in the threads: "installation of miscellaneous-1.0.11 package" and "Package problem on mac octave."


reply via email to

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