Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MinGW questions

Date2006-11-12 18:41
FromVictor Lazzarini
SubjectRe: [Cs-dev] MinGW questions
See if you can get 1.1.7. It builds here flawlessly.

Victor

> As I said on the other thread, I used configure with
> --enable-shared and  --enable-threads.  The error was not
> in compilation, but in linking.  Using Makefile.mingw
> gives the same result as I reported earlier:
>
> g++ -shared -Wl,--whole-archive -Wl,--export-all-symbols
> -Wl,--enable-auto-import -o mgwfltknox-1.1.dll
> ./lib/libfltk.a ... Creating library file: libfltk.dll.a
> ./lib/libfltk.a(Fl.o)(.text+0x27f):Fl.cxx: undefined
> reference to  `DeleteObject@4'
> ./lib/libfltk.a(Fl.o)(.text+0xcb3):Fl.cxx: undefined
> reference to  `CreateRectRgn@16'
> ./lib/libfltk.a(Fl.o)(.text+0xcc6):Fl.cxx: undefined
> reference to  `CombineRgn@16'
> ./lib/libfltk.a(Fl.o)(.text+0xccc):Fl.cxx: undefined
> reference to  `DeleteObject@4'
> ./lib/libfltk.a(Fl.o)(.text+0xcdf):Fl.cxx: undefined
> reference to  `DeleteObject@4'
>
> (etc.)
>
> - Dave
>
> Michael Gogins wrote:
> > FLTK can be built a number of ways. There is a configure
> script and also a MinGW makefile in the FLTK/makefiles
> > directory. Did you try both ways?
> > Regards,
> > Mike
>
>
> ----------------------------------------------------------
> --------------- Using Tomcat but need to do more? Need to
> support web services, security? Get stuff done quickly
> with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-12 18:54
FromDave Seidel
SubjectRe: [Cs-dev] MinGW questions
Whoops, you're right, I should have noticed it was a dev snapshot.  So I 
got 1.1.7, and got a different error:

Archiving ../lib/libfltk_jpeg.a...
process_begin: CreateProcess((null), /mingw/bin/ar cr 
../lib/libfltk_jpeg.a jmemnobs.o jcapimin.o jcapistd.o jccoefct.o 
jccolor.o jcdctmgr.o jchuff.o jcinit.o jcmainct.o jcmarker.o jcmaster.o 
jcomapi.o jcparam.o jcphuff.o jcprepct.o jcsample.o jctrans.o jdapimin.o 
jdapistd.o jdatadst.o jdatasrc.o jdcoefct.o jdcolor.o jddctmgr.o 
jdhuff.o jdinput.o jdmainct.o jdmarker.o jdmaster.o jdmerge.o jdphuff.o 
jdpostct.o jdsample.o jdtrans.o jerror.o jfdctflt.o jfdctfst.o 
jfdctint.o jidctflt.o jidctfst.o jidctint.o jidctred.o jquant1.o 
jquant2.o jutils.o jmemmgr.o, ...) failed.
make (e=3): The system cannot find the path specified.
C:\msys\1.0\mingw\bin\make.exe[1]: *** [../lib/libfltk_jpeg.a] Error 3

Not sure which path it's complaining about.  Ar is located as shown, and 
is in the path as well.

- Dave

Victor Lazzarini wrote:
> See if you can get 1.1.7. It builds here flawlessly.
> 
> Victor
> 
>> As I said on the other thread, I used configure with
>> --enable-shared and  --enable-threads.  The error was not
>> in compilation, but in linking.  Using Makefile.mingw
>> gives the same result as I reported earlier:
>>
>> g++ -shared -Wl,--whole-archive -Wl,--export-all-symbols
>> -Wl,--enable-auto-import -o mgwfltknox-1.1.dll
>> ./lib/libfltk.a ... Creating library file: libfltk.dll.a
>> ./lib/libfltk.a(Fl.o)(.text+0x27f):Fl.cxx: undefined
>> reference to  `DeleteObject@4'
>> ./lib/libfltk.a(Fl.o)(.text+0xcb3):Fl.cxx: undefined
>> reference to  `CreateRectRgn@16'
>> ./lib/libfltk.a(Fl.o)(.text+0xcc6):Fl.cxx: undefined
>> reference to  `CombineRgn@16'
>> ./lib/libfltk.a(Fl.o)(.text+0xccc):Fl.cxx: undefined
>> reference to  `DeleteObject@4'
>> ./lib/libfltk.a(Fl.o)(.text+0xcdf):Fl.cxx: undefined
>> reference to  `DeleteObject@4'
>>
>> (etc.)
>>
>> - Dave
>>
>> Michael Gogins wrote:
>>> FLTK can be built a number of ways. There is a configure
>> script and also a MinGW makefile in the FLTK/makefiles
>>> directory. Did you try both ways?
>>> Regards,
>>> Mike
>>
>> ----------------------------------------------------------
>> --------------- Using Tomcat but need to do more? Need to
>> support web services, security? Get stuff done quickly
>> with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache Geronimo
>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net