i686-w64-mingw32-g++
-I/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/pthreads/build/GC_x86_4.6.0_20100528/include/
-L/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/pthreads/build/GC_x86_4.6.0_20100528/lib/
-I./src/include -DWINAPI=__stdcall -D__MINGW32__ -D_WIN32 -DMINGW
-DHAVE_STRUCT_TIMESPEC
-I/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/dist/mingw/include/zlib-1.2.3
-L/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/dist/mingw/lib/zlib-1.2.3
-g -O2
-I/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR
-L/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/lib
-L/usr/local/lib -lImath -lHalf -lIex -lIlmThread  b44ExpLogTable.cpp   -o
b44ExpLogTable
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`half':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:491:
undefined reference to `half::_eLut'
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:483:
undefined reference to `half::_eLut'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`_ZNK4halfcvfEv':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:512:
undefined reference to `half::_toFloat'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`half':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:481:
undefined reference to `half::_eLut'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`_ZN4halfaSEf':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:499:
undefined reference to `half::convert(int)'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`_ZNK4halfcvfEv':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:512:
undefined reference to `half::_toFloat'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`half':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:481:
undefined reference to `half::_eLut'
/var/folders/TZ/TZffYIqtGoiNhBXW-jV0ek+++TI/-Tmp-//ccRECpSN.o: In function
`_ZN4halfaSEf':
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:499:
undefined reference to `half::convert(int)'
/Volumes/Data/Users/hradec/dev/svn/cortex4all/trunk/OIIO/externals/./build/mingw/ilmbase-1.0.1/include/OpenEXR/half.h:499:
undefined reference to `half::convert(int)'
collect2: ld returned 1 exit status


On Tue, Jun 1, 2010 at 5:36 PM, JonY <[email protected]> wrote:

> On 6/2/2010 06:28, Hradec wrote:
>
>> Works!! I got it linking correctly... I actually found the libtool
>> template
>> code inside configure, so it was pretty simple to delete it from there and
>> now I got a proper configure patch which generates a patched libtool.
>>
>> Although it links correctly now, I'm not getting any DLLs out of it...
>> just
>> .la and .a and it should be dumping the DLLs as weel... could it be
>> because
>> I took the objects out? or it is missing some command line that instructs
>> it
>> to generate dlls?
>>
>> I tried to build openexr (ilmbase is a dependency for openexr) with the
>> .la
>> and .a libs, but openexr build complains about not finding references
>> again... I know from past experience with mingw that I was only able to
>> build openexr if I used the DLLs intead of the .la files, or else I would
>> get those same missing references... that's why I need to get the DLLs out
>> of ilmbase!
>>
>> -H
>>
>>
> Hi,
>
> can you post the error or warning message from libtool? If it says
> something to the effect of "undefined symbol reference not supported on this
> platform", you need to add "-no-undefined" parameter when calling libtool.
>



-- 
Hradec
------------------------------------------------------------------------------

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to