Re: [fossil-users] Errors trying to compile
Op 13 okt. 2016 03:28 schreef "Joe Mistachkin": > Using that makefile with Cygwin is untested, unlikely to work, and unsupported. Yes, it works and is supporter (by me). You need the mingw-w64 cross-compiler package for Cygwin (either the 32-bit or 64-bit one). See the comments at the top of the Makefile how to do that. Regards, Jan Nijtmans ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Errors trying to compile
Richard I get the following error at the end when I try to compile under minGW/msys: wbld/undo.o wbld/unicode.o wbld/unversioned.o wbld/update.o wbld/url.o wbld/user.o wbld/utf8.o wbld/util.o wbld/verify.o wbld/vfile.o wbld/wiki.o wbld/wikiformat.o wbld/winfile.o wbld/winhttp.o wbld/wysiwyg.o wbld/xfer.o wbld/xfersetup.o wbld/zip.o wbld/sqlite3.o wbld/shell.o wbld/th.o wbld/th_lang.o wbld/th_tcl.o wbld/cson_amalgamation.o wbld/fossil.o -lmingwex -lz -lkernel32 -lws2_32 wbld/http_socket.o:http_socket_.c:(.text+0x176): undefined reference to `getaddrinfo' wbld/http_socket.o:http_socket_.c:(.text+0x212): undefined reference to `getnameinfo' wbld/http_socket.o:http_socket_.c:(.text+0x31c): undefined reference to `freeaddrinfo' wbld/http_socket.o:http_socket_.c:(.text+0x428): undefined reference to `getaddrinfo' wbld/http_socket.o:http_socket_.c:(.text+0x472): undefined reference to `getnameinfo' wbld/http_socket.o:http_socket_.c:(.text+0x4a4): undefined reference to `freeaddrinfo' src/../compat/zlib/libz.a(inflate.o):inflate.c:(.text+0x1f07): undefined reference to `inflate_fast' collect2.exe: error: ld returned 1 exit status make: *** [fossil.exe] Error 1 Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia Mail: PO Box 7815 Waterfront Place, Brisbane 4001 Tel:+61 733 600 255 Mob: +61 400 551 920 Fax: +61 733 600 222 Web: http://ecourban.com.au On Thu, Oct 13, 2016 at 11:39 AM, Richard Hippwrote: > On 10/12/16, Dan Raymond wrote: > > Thanks. > > > > What is best environment etc to compile under windows? > > mingw/msys works. Also MSVC. I build the precompiled binaries for > the Fossil homepage using mingw/msys. > > > > > > > > > Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia > > Mail: PO Box 7815 Waterfront Place, Brisbane 4001 > > Tel:+61 733 600 255 > > Mob: +61 400 551 920 > > Fax: +61 733 600 222 > > Web: http://ecourban.com.au > > > > On Thu, Oct 13, 2016 at 11:28 AM, Joe Mistachkin > > wrote: > > > >> > >> Using that makefile with Cygwin is untested, unlikely to work, and > >> unsupported. > >> > >> Sent from my iPhone > >> https://urn.to/r/mistachkin > >> > >> On Oct 12, 2016, at 5:55 PM, Dan Raymond wrote: > >> > >> I am getting the following errors when trying to compile: What do I need > >> to do? > >> > >> > >> > >> $ make -f win/Makefile.mingw > >> > >> gcc -Wall -Os -Lsrc/../compat/zlib -Isrc/../compat/zlib > >> -DBROKEN_MINGW_CMDLINE=1 -c > >> -o src/../compat/zlib/match.o -DASMV > >> src/../compat/zlib/contrib/asm686/match.S > >> > >> match.S: Assembler messages: > >> > >> match.S:94: Error: invalid instruction suffix for `push' > >> > >> match.S:96: Error: bad register expression > >> > >> match.S:97: Error: invalid instruction suffix for `push' > >> > >> match.S:99: Error: invalid instruction suffix for `push' > >> > >> match.S:101: Error: invalid instruction suffix for `push' > >> > >> src/../compat/zlib/contrib/asm686/match.S:348: Error: invalid > instruction > >> suffix fo > >> r `pop' > >> > >> src/../compat/zlib/contrib/asm686/match.S:350: Error: invalid > instruction > >> suffix fo > >> r `pop' > >> > >> src/../compat/zlib/contrib/asm686/match.S:352: Error: invalid > instruction > >> suffix fo > >> r `pop' > >> > >> src/../compat/zlib/contrib/asm686/match.S:354: Error: invalid > instruction > >> suffix fo > >> r `pop' > >> > >> make: *** [win/Makefile.mingw:994: src/../compat/zlib/match.o] Error 1 > >> > >> > >> > >> > >> I am, trying to compile under CYGWIN on windows > >> > >> > >> ___ > >> fossil-users mailing list > >> fossil-users@lists.fossil-scm.org > >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >> > >> > >> ___ > >> fossil-users mailing list > >> fossil-users@lists.fossil-scm.org > >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >> > >> > > > > > -- > D. Richard Hipp > d...@sqlite.org > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Errors trying to compile
I believe you can use the standard ./configure && make in the Cygwin environment. But I never tried it personally. -- Martin > Le 12 oct. 2016 à 21:38, Dan Raymonda écrit : > > Thanks. > > What is best environment etc to compile under windows? > > > > > Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia > Mail: PO Box 7815 Waterfront Place, Brisbane 4001 > Tel:+61 733 600 255 > Mob: +61 400 551 920 > Fax: +61 733 600 222 > Web: http://ecourban.com.au > >> On Thu, Oct 13, 2016 at 11:28 AM, Joe Mistachkin >> wrote: >> >> Using that makefile with Cygwin is untested, unlikely to work, and >> unsupported. >> >> Sent from my iPhone >> https://urn.to/r/mistachkin >> >>> On Oct 12, 2016, at 5:55 PM, Dan Raymond wrote: >>> >>> I am getting the following errors when trying to compile: What do I need to >>> do? >>> >>> >>> >>> $ make -f win/Makefile.mingw >>> >>> gcc -Wall -Os -Lsrc/../compat/zlib -Isrc/../compat/zlib >>> -DBROKEN_MINGW_CMDLINE=1 -c >>> -o src/../compat/zlib/match.o -DASMV >>> src/../compat/zlib/contrib/asm686/match.S >>> match.S: Assembler messages: >>> >>> match.S:94: Error: invalid instruction suffix for `push' >>> >>> match.S:96: Error: bad register expression >>> >>> match.S:97: Error: invalid instruction suffix for `push' >>> >>> match.S:99: Error: invalid instruction suffix for `push' >>> >>> match.S:101: Error: invalid instruction suffix for `push' >>> >>> src/../compat/zlib/contrib/asm686/match.S:348: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:350: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:352: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:354: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> make: *** [win/Makefile.mingw:994: src/../compat/zlib/match.o] Error 1 >>> >>> >>> >>> >>> I am, trying to compile under CYGWIN on windows >>> >>> ___ >>> fossil-users mailing list >>> fossil-users@lists.fossil-scm.org >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Errors trying to compile
That largely depends on what your existing development environment is. Good choices are MinGW (not MinGW64) or MSVC. Proper makefile are provided for both of these options. Sent from my iPhone https://urn.to/r/mistachkin > On Oct 12, 2016, at 6:38 PM, Dan Raymondwrote: > > Thanks. > > What is best environment etc to compile under windows? > > > > > Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia > Mail: PO Box 7815 Waterfront Place, Brisbane 4001 > Tel:+61 733 600 255 > Mob: +61 400 551 920 > Fax: +61 733 600 222 > Web: http://ecourban.com.au > >> On Thu, Oct 13, 2016 at 11:28 AM, Joe Mistachkin >> wrote: >> >> Using that makefile with Cygwin is untested, unlikely to work, and >> unsupported. >> >> Sent from my iPhone >> https://urn.to/r/mistachkin >> >>> On Oct 12, 2016, at 5:55 PM, Dan Raymond wrote: >>> >>> I am getting the following errors when trying to compile: What do I need to >>> do? >>> >>> >>> >>> $ make -f win/Makefile.mingw >>> >>> gcc -Wall -Os -Lsrc/../compat/zlib -Isrc/../compat/zlib >>> -DBROKEN_MINGW_CMDLINE=1 -c >>> -o src/../compat/zlib/match.o -DASMV >>> src/../compat/zlib/contrib/asm686/match.S >>> match.S: Assembler messages: >>> >>> match.S:94: Error: invalid instruction suffix for `push' >>> >>> match.S:96: Error: bad register expression >>> >>> match.S:97: Error: invalid instruction suffix for `push' >>> >>> match.S:99: Error: invalid instruction suffix for `push' >>> >>> match.S:101: Error: invalid instruction suffix for `push' >>> >>> src/../compat/zlib/contrib/asm686/match.S:348: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:350: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:352: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> src/../compat/zlib/contrib/asm686/match.S:354: Error: invalid instruction >>> suffix fo >>> r `pop' >>> >>> make: *** [win/Makefile.mingw:994: src/../compat/zlib/match.o] Error 1 >>> >>> >>> >>> >>> I am, trying to compile under CYGWIN on windows >>> >>> ___ >>> fossil-users mailing list >>> fossil-users@lists.fossil-scm.org >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Errors trying to compile
On 10/12/16, Dan Raymondwrote: > Thanks. > > What is best environment etc to compile under windows? mingw/msys works. Also MSVC. I build the precompiled binaries for the Fossil homepage using mingw/msys. > > > > Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia > Mail: PO Box 7815 Waterfront Place, Brisbane 4001 > Tel:+61 733 600 255 > Mob: +61 400 551 920 > Fax: +61 733 600 222 > Web: http://ecourban.com.au > > On Thu, Oct 13, 2016 at 11:28 AM, Joe Mistachkin > wrote: > >> >> Using that makefile with Cygwin is untested, unlikely to work, and >> unsupported. >> >> Sent from my iPhone >> https://urn.to/r/mistachkin >> >> On Oct 12, 2016, at 5:55 PM, Dan Raymond wrote: >> >> I am getting the following errors when trying to compile: What do I need >> to do? >> >> >> >> $ make -f win/Makefile.mingw >> >> gcc -Wall -Os -Lsrc/../compat/zlib -Isrc/../compat/zlib >> -DBROKEN_MINGW_CMDLINE=1 -c >> -o src/../compat/zlib/match.o -DASMV >> src/../compat/zlib/contrib/asm686/match.S >> >> match.S: Assembler messages: >> >> match.S:94: Error: invalid instruction suffix for `push' >> >> match.S:96: Error: bad register expression >> >> match.S:97: Error: invalid instruction suffix for `push' >> >> match.S:99: Error: invalid instruction suffix for `push' >> >> match.S:101: Error: invalid instruction suffix for `push' >> >> src/../compat/zlib/contrib/asm686/match.S:348: Error: invalid instruction >> suffix fo >> r `pop' >> >> src/../compat/zlib/contrib/asm686/match.S:350: Error: invalid instruction >> suffix fo >> r `pop' >> >> src/../compat/zlib/contrib/asm686/match.S:352: Error: invalid instruction >> suffix fo >> r `pop' >> >> src/../compat/zlib/contrib/asm686/match.S:354: Error: invalid instruction >> suffix fo >> r `pop' >> >> make: *** [win/Makefile.mingw:994: src/../compat/zlib/match.o] Error 1 >> >> >> >> >> I am, trying to compile under CYGWIN on windows >> >> >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> >> >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> >> > -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Errors trying to compile
Thanks. What is best environment etc to compile under windows? Level 19 Waterfront Place, 1 Eagle Street Brisbane Qld 4000 Australia Mail: PO Box 7815 Waterfront Place, Brisbane 4001 Tel:+61 733 600 255 Mob: +61 400 551 920 Fax: +61 733 600 222 Web: http://ecourban.com.au On Thu, Oct 13, 2016 at 11:28 AM, Joe Mistachkinwrote: > > Using that makefile with Cygwin is untested, unlikely to work, and > unsupported. > > Sent from my iPhone > https://urn.to/r/mistachkin > > On Oct 12, 2016, at 5:55 PM, Dan Raymond wrote: > > I am getting the following errors when trying to compile: What do I need > to do? > > > > $ make -f win/Makefile.mingw > > gcc -Wall -Os -Lsrc/../compat/zlib -Isrc/../compat/zlib > -DBROKEN_MINGW_CMDLINE=1 -c > -o src/../compat/zlib/match.o -DASMV > src/../compat/zlib/contrib/asm686/match.S > > match.S: Assembler messages: > > match.S:94: Error: invalid instruction suffix for `push' > > match.S:96: Error: bad register expression > > match.S:97: Error: invalid instruction suffix for `push' > > match.S:99: Error: invalid instruction suffix for `push' > > match.S:101: Error: invalid instruction suffix for `push' > > src/../compat/zlib/contrib/asm686/match.S:348: Error: invalid instruction > suffix fo > r `pop' > > src/../compat/zlib/contrib/asm686/match.S:350: Error: invalid instruction > suffix fo > r `pop' > > src/../compat/zlib/contrib/asm686/match.S:352: Error: invalid instruction > suffix fo > r `pop' > > src/../compat/zlib/contrib/asm686/match.S:354: Error: invalid instruction > suffix fo > r `pop' > > make: *** [win/Makefile.mingw:994: src/../compat/zlib/match.o] Error 1 > > > > > I am, trying to compile under CYGWIN on windows > > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users