From: Lord F. S. A. C. <lor...@uc...> - 2013-06-07 16:17:42
|
Please Mr Earnie Boyd or someone could you considerated help to me? I think it is easy to you but a little hard to me <ea...@us...>: > On Wed, Jun 5, 2013 at 11:03 AM, Lord Flaubert Steve Ataucuri Cruz wrote: > > Please read the etiquette section of http://mingw.org/lists.shtml. > I am apologize over here I am new in this mailing list. >> Earnie, >> >> I got this error when compile into a cygwin context in order to >> produce a setup.exe, Do you know what is the reason? >> > > You mean Cygwin's setup.exe? You should ask Cygwin > <cy...@cy...> or maybe one of another of the lists would be more > appropriate. > I think it is the correct place to ask for support because I am using mingw. >> this is my macros: >> LDFLAGS = -L/usr/lib/w32api >> LIBS = -lmingw32 -lws2_32 >> > > Where's the command line? Ok I am trying to build an installer of some great tools of linux to windows, but I wanna use mingw and cygwin (the reason is to avoid the dependencies on cygwin runtime). I type "make" in my directory which we build: my make file is at http://pastebin.com/EQGuXsEx and the output of make is too long sorry for this: $ make make all-recursive make[1]: Entering directory `/cygdrive/c/build/setup' Making all in libgetopt++ make[2]: Entering directory `/cygdrive/c/build/setup/libgetopt++' make[2]: Leaving directory `/cygdrive/c/build/setup/libgetopt++' Making all in tests make[2]: Entering directory `/cygdrive/c/build/setup/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/cygdrive/c/build/setup/tests' make[2]: Entering directory `/cygdrive/c/build/setup' /bin/sh ./libtool --tag=CXX --mode=link g++ -mno-cygwin -Werror -Wall -Wno-uninitialized -Wpointer-arith -Wcomments -Wcast-align -Wwrite-strings -g -O2 -mwindows -L/usr/lib/w32api -o setup.exe AntiVirus.o archive.o archive_tar.o archive_tar_file.o autoload.o choose.o compress.o compress_bz.o compress_gz.o ConnectionSetting.o ControlAdjuster.o cygpackage.o desktop.o express_package.o dialog.o diskfull.o download.o Exception.o find.o FindVisitor.o filemanip.o fromcwd.o geturl.o ini.o IniDBBuilderPackage.o iniparse.o IniParseFeedback.o IniParseFindVisitor.o install.o io_stream.o io_stream_cygfile.o io_stream_file.o io_stream_memory.o localdir.o LogFile.o LogSingleton.o main.o mkdir.o mklink2.o mount.o msg.o net.o netio.o nio-ie5.o nio-file.o nio-ftp.o nio-http.o package_db.o package_meta.o package_source.o package_version.o PackageSpecification.o PickCategoryLine.o PickPackageLine.o PickView.o postinstall.o prereq.o proppage.o propsheet.o res.o root.o ScanFindVisitor.o script.o setup_version.o simpsock.o site.o source.o SourceSetting.o splash.o state.o String++.o threebar.o UserSetting.o UserSettings.o win32.o window.o csu_util/MD5Sum.o csu_util/rfc1738.o csu_util/version_compare.o libmd5-rfc/md5.o libinilex.a libgetopt++/libgetopt++.la res.o -lbz2 -lz -lcomctl32 -lole32 -lwsock32 -lnetapi32 -luuid -lws2_32 -lstdc++ -lmingw32 -lws2_32 libtool: link: g++ -mno-cygwin -Werror -Wall -Wno-uninitialized -Wpointer-arith -Wcomments -Wcast-align -Wwrite-strings -g -O2 -mwindows -o setup.exe AntiVirus.o archive.o archive_tar.o archive_tar_file.o autoload.o choose.o compress.o compress_bz.o compress_gz.o ConnectionSetting.o ControlAdjuster.o cygpackage.o desktop.o express_package.o dialog.o diskfull.o download.o Exception.o find.o FindVisitor.o filemanip.o fromcwd.o geturl.o ini.o IniDBBuilderPackage.o iniparse.o IniParseFeedback.o IniParseFindVisitor.o install.o io_stream.o io_stream_cygfile.o io_stream_file.o io_stream_memory.o localdir.o LogFile.o LogSingleton.o main.o mkdir.o mklink2.o mount.o msg.o net.o netio.o nio-ie5.o nio-file.o nio-ftp.o nio-http.o package_db.o package_meta.o package_source.o package_version.o PackageSpecification.o PickCategoryLine.o PickPackageLine.o PickView.o postinstall.o prereq.o proppage.o propsheet.o res.o root.o ScanFindVisitor.o script.o setup_version.o simpsock.o site.o source.o SourceSetting.o splash.o state.o String++.o threebar.o UserSetting.o UserSettings.o win32.o window.o csu_util/MD5Sum.o csu_util/rfc1738.o csu_util/version_compare.o libmd5-rfc/md5.o res.o -L/usr/lib/w32api libinilex.a libgetopt++/.libs/libgetopt++.a -lbz2 -lz -lcomctl32 -lole32 -lwsock32 -lnetapi32 -luuid -lstdc++ -lmingw32 -lws2_32 /usr/lib/gcc/i686-pc-mingw32/3.4.4/libstdc++.a(basic_file.o):basic_file.cc:(.text+0x4ed): undefined reference to `__fstati64' collect2: ld returned 1 exit status Makefile:721: recipe for target `setup.exe' failed make[2]: *** [setup.exe] Error 1 make[2]: Leaving directory `/cygdrive/c/build/setup' Makefile:898: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/build/setup' Makefile:640: recipe for target `all' failed make: *** [all] Error 2 I don't know why it has undefined reference to __fstati64 , my parameters are: yet LDFLAGS = -L/usr/lib/w32api LIBS = -lmingw32 -lws2_32 Steve > >> /usr/lib/gcc/i686-pc-mingw32/3.4.4/libstdc++.a(basic_file.o):basic_file.cc:(.text+0x4ed): >> undefined reference to `__fstati64' >> collect2: ld returned 1 exit status >> Makefile:721: recipe for target `setup.exe' failed >> make[2]: *** [setup.exe] Error 1 >> make[2]: Leaving directory `/cygdrive/c/build/setup' >> Makefile:898: recipe for target `all-recursive' failed >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/cygdrive/c/build/setup' >> Makefile:640: recipe for target `all' failed >> make: *** [all] Error 2 > > But we don't support the build of Cygwin's setup.exe, This is OT for this list. > > -- > Earnie > -- https://sites.google.com/site/earnieboyd > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe -- Steve Ataucuri Cruz School of Computer Science, San Pablo Catholic University - Arequipa, Peru (http://www.ucsp.edu.pe), Screen Names : sto...@ho... (Windows Live Messenger) sto...@gm... (Google talk) sto...@ya... (Yahoo Messenger) stonescenter (Skype) +51.972529201 (Mobile) |