Hi Dave, I had this problem too with -ljpeg when I recently built fltk on Win2K, but for the of me I can't remember what I did to get past it. Could you try without --enable-shared and with --enabled-threads? steven On 11/13/06, Dave Seidel wrote: > Good hint, I had apparently been using th wrong one. This gets me a lot > further, but then it can't find a library: > > /mingw/bin/ar cr ../lib/libfltk_images.a ... > g++ -shared -Wl,--whole-archive -Wl,--export-all-symbols > -Wl,--enable-auto-import -o mgwfltknox_images-1.1.dll > ../lib/libfltk_images ... > C:\msys\1.0\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: > cannot find -ljpeg > collect2: ld returned 1 exit status > > - Dave > > P.S. Thanks for your continued patience! > > Victor Lazzarini wrote: > > would this be a make problem? I remember having had > > some sort of trouble with the mingw make. I might > > have had to substitute it for the mingw32-make that > > is offered separately, by renaming it, or was it the > > other way round? I'm sure I had a similar issue. I > > might have even reported it to this list, if you check > > the archive (it was earlier this year). > > > > Victor > > > >> 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 > >> 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 > 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