I figured it out.  I needed -lzdll instead of -lz on the LIB line:

LIB = -lmingwex -lzdll -lws2_32

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division     
assuredcommunications(tm)


> -----Original Message-----
> From: [email protected] [mailto:fossil-users-
> [email protected]] On Behalf Of Wilson, Ronald
> Sent: Monday, October 12, 2009 4:59 PM
> To: [email protected]
> Subject: Re: [fossil-users] making fossil with mingw32
> 
> 
> After the makefile update, I'm still getting this after a fossil clean -
> -all and a make retry.  The warnings cleaned up significantly though...
> 
> gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include -o fossil
> add.o allrepo.o bag.o blob.o branch.o browse.o cap
> tcha.o cgi.o checkin.o checkout.o clearsign.o clone.o comformat.o
> configure.o construct.o content.o db.o delta.o deltacm
> d.o descendants.o diff.o diffcmd.o doc.o encode.o file.o http.o
> http_socket.o http_transport.o info.o login.o main.o man
> ifest.o md5.o merge.o merge3.o name.o pivot.o pqueue.o printf.o
> rebuild.o report.o rss.o rstats.o schema.o setup.o sha1.
> o shun.o stat.o style.o sync.o tag.o th_main.o timeline.o tkt.o
> tktsetup.o undo.o update.o url.o user.o verify.o vfile.o
>  wiki.o wikiformat.o winhttp.o xfer.o zip.o sqlite3.o th.o th_lang.o -
> lmingwex -lz -lws2_32
> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lz
> collect2: ld returned 1 exit status
> make.exe": *** [fossil] Error 1
> PS C:\fossil\fossil>
> 
> RW
> 
> Ron Wilson, Engineering Project Lead
> (o) 434.455.6453, (m) 434.851.1612, www.harris.com
> 
> HARRIS CORPORATION   |   RF Communications Division
>       assuredcommunications(tm)
> 
> 
> > -----Original Message-----
> > From: [email protected] [mailto:fossil-users-
> > [email protected]] On Behalf Of Kees Nuyt
> > Sent: Monday, October 12, 2009 4:52 PM
> > To: [email protected]
> > Subject: Re: [fossil-users] making fossil with mingw32
> >
> >
> > On Mon, 12 Oct 2009 14:57:41 -0400, you wrote:
> >
> > >Installing msys and adding it to the path gets me past the backslash
> > issues.  Now I am missing zlib.h:
> >
> > [....]
> > >gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -
> I/usr/local/include
> > -I. -I./src -o blob.o -c blob_.c
> > >blob_.c:28:18: zlib.h: No such file or directory
> > >blob_.c: In function `blob_compress':
> > >blob_.c:725: warning: implicit declaration of function `compress'
> > >blob_.c: In function `blob_compress2':
> > [....]
> >
> > In Makefile.w32 change the TCC line to:
> >
> > TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib
> > -I/mingw/include
> >
> > and the LIB line to:
> >
> > LIB = -lmingwex -lz -lws2_32
> >
> > (all on one line)
> > --
> >   (  Kees Nuyt
> >   )
> > c[_]
> > _______________________________________________
> > fossil-users mailing list
> > [email protected]
> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to