[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: MXE: openblas build error "dllwrap: Command not found"
From: |
PhilipNienhuis |
Subject: |
RE: MXE: openblas build error "dllwrap: Command not found" |
Date: |
Mon, 12 Aug 2013 12:50:00 -0700 (PDT) |
PhilipNienhuis wrote
>
> John Donoghue-2 wrote
>> Date: Sun, 11 Aug 2013 14:32:27 -0700 (PDT)
>> From: PhilipNienhuis <
>> pr.nienhuis@
>> >
>> To:
>> octave-maintainers@
>> Subject: MXE: openblas build error "dllwrap: Command not found"
>> Message-ID: <
>> address@hidden
>>>
>> Content-Type: text/plain; charset=us-ascii
>>
>> address@hidden mxe-octave]$ hg summary
>> parent: 3231:ed6444cc0dcb tip
>>
>> openblas log:
>>
>> :
>> make -j 4 -C exports dll
>> make[3]: Entering directory
>> `/home/philip/devel/octdev/mxe-0.10/mxe-octave/tmp-openblas/OpenBLAS-0.2.6/e
>> xports'
>> make[3]: warning: -jN forced in submake: disabling jobserver mode.
>> perl ./gensymbol win2k x86 dummy 0 1 1 1 > libopenblas.def
>> /home/philip/devel/octdev/mxe-0.10/mxe-octave/usr/bin/i686-pc-mingw32-gcc
>> -O2 -DMS_ABI -Wall -m32 -DF_INTERFACE_GFORT -DDYNAMIC_ARCH -DNO_LAPACK
>> -DNO_LAPACKE -DMAX_CPU_NUMBER=4 -DASMNAME=_dllinit -DASMFNAME=_dllinit_
>> -DNAME=dllinit_ -DCNAME=dllinit -DCHAR_NAME=\"dllinit_\"
>> -DCHAR_CNAME=\"dllinit\" -DNO_AFFINITY -I.. -c -o dllinit.obj -s
>> dllinit.c
>> ranlib ../libopenblas-r0.2.6.lib dllwrap -o ../libopenblas.dll --def
>> libopenblas.def \ --entry address@hidden -s dllinit.obj --dllname
>> libopenblas.dll ../libopenblas-r0.2.6.lib -defaultlib:advapi32 -lgfortran
>> -defaultlib:advapi32 -lgfortran -lgfortran
>> make[3]: dllwrap: Command not found
>> make[3]: *** [../libopenblas.dll] Error 127
>> make[3]: Leaving directory
>> `/home/philip/devel/octdev/mxe-0.10/mxe-octave/tmp-openblas/OpenBLAS-0.2.6/e
>> xports'
>> make[2]: *** [shared] Error 2
>> make[2]: Leaving directory
>> `/home/philip/devel/octdev/mxe-0.10/mxe-octave/tmp-openblas/OpenBLAS-0.2.6'
>> make[1]: *** [build-only-openblas] Error 2
>> make[1]: Leaving directory
>> `/home/philip/devel/octdev/mxe-0.10/mxe-octave'
>>
>> MXE's requirement check didn't stumble over dllwrap.
>>
>> What is needed to fix this build error?
>>
>> Thanks,
>>
>> Philip
>>
>>
>> ---------------------------
>>
>> On my system, dllwrap is in /mingw/bin. I believe it is a part of
>> mingw32-binutils.
> FTR, I was cross-compiling on Linux.
>
> Anyway thanks for the hint. In a similar post on the mingw32 list it was
> noted that dllwrap could be a bit disguised, and indeed I found dllwrap in
> a MXE cross-tools subdir where it is called i686-pc-mingw32-dllwrap (watch
> out for line wrap).
> I'll make a symlink and try again....
That (symlink), nor copying to "dllwrap", didn't help.
I'm afraid the issue is that when cross-compiling, dllwrap cannot be invoked
as it is a win32 program.
In the various mingw32 ML posts I read the suggestion to replace calls to
dllwrap by "gcc -shared ...." calls. Unfortunately that is beyond my
expertise.
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/MXE-openblas-build-error-dllwrap-Command-not-found-tp4656530p4656557.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.