Path: news.mathworks.com!not-for-mail
From: "Martti " <martti@nospam.sophilos.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: MEX 'specified procedure could not be found' in 2007b
Date: Fri, 30 Nov 2007 07:39:40 +0000 (UTC)
Organization: The MathWorks
Lines: 69
Message-ID: <fioens$ftt$1@fred.mathworks.com>
References: <ff2hh0$d6n$1@fred.mathworks.com> <fimanu$ahb$1@fred.mathworks.com> <finkcm$fec$1@fred.mathworks.com>
Reply-To: "Martti " <martti@nospam.sophilos.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1196408380 16317 172.30.248.35 (30 Nov 2007 07:39:40 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 30 Nov 2007 07:39:40 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 955976
Xref: news.mathworks.com comp.soft-sys.matlab:440158


"Tim Davis" <davis@cise.ufl.edu> wrote in message 
<finkcm$fec$1@fred.mathworks.com>...
> "Martti " <martti@nospam.sophilos.com> wrote in message
> <fimanu$ahb$1@fred.mathworks.com>...
> > Hi Tom,
> > 
> > I suggest you try DependencyWalker, it's a free tool 
you can
> > use to find out if there's some libraries missing. It 
can be
> > downloaded from
> > http://dependencywalker.com/
> > Just open your *.mexw32 with the tool and check what's
> missing.
> > 
> > Regards,
> > Martti
> > 
> > 
> > "Erez " <tom.erez.no@spam.gmail.com> wrote in message
> > <ff2hh0$d6n$1@fred.mathworks.com>...
> > > Hello,
> > > 
> > > I am a user of the "ndfun" function, created by Peter
> > > Boettcher to enable matrix operations on n-dimensional
> arrays.
> > > 
> > > After switching to 2007b, I re-compiled it from the C 
code
> > > (with the BLAS and LAPACK libraries in the command 
line, as
> > > the help page suggested) with no problem.
> > > 
> > > Now, when I try to use it, I get the following error:
> > > 
> > > ??? Invalid MEX-file 'D:\.....\ndfun.mexw32': The
> > > specified procedure could not be found.
> > > 
> > > This is not an issue of version incompatibility, as I 
have
> > > just compiled it on this very system (hence a 
different
> > > issue from the one reported here:
> > >
> >
> 
www.mathworks.com/matlabcentral/newsreader/view_thread/15361
8 )
> > > 
> > > Any ideas?
> > > 
> > > -Tom
> > 
> 
> 
> A CHOLMOD user just emailed me with the same problem - not
> with ndfun but with CHOLMOD.  Curious ... seems that it
> might not be related to NDFUN or CHOLMOD but to a compiler
> issue.
> 
> Tim Davis

With 2007b lcc compiler, to me it seems to be impossible to 
get both LAPACK and BLAS linked to the mex dll. In my 
system, only the library mentioned first when calling mex 
gets linked. That behaviour is only when using lcc.

Martti