Hi

I am trying to compile on Windows XP using MSYS/MinGW/zlib as stated in
http://www.mail-archive.com/[email protected]/msg01384.htmlbut
am always hitting the issue below.  Any advice?

Regards
Darren


$ make -f Makefile.w32
./translate ./src/add.c >add_.c
...
./translate ./src/xfer.c >xfer_.c
./translate ./src/zip.c >zip_.c
./mkindex add_.c allrepo_.c bag_.c blob_.c branch_.c browse_.c captcha_.c
cgi_.c
 checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c
construc
t_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c
doc
_.c encode_.c file_.c finfo_.c graph_.c http_.c http_socket_.c http_ssl_.c
http_
transport_.c info_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c
name
_.c pivot_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c rstats_.c
schema_.c
 search_.c setup_.c sha1_.c shun_.c skins_.c stat_.c style_.c sync_.c tag_.c
th_
main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c
verify_.
c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c >page_index.h
awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $1}'  ./src/../manifest.uuid
>VE
RSION.h
awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $1}'
./src/../manifest.
uuid >>VERSION.h
awk '$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n",
substr($2,1,10),substr(
$2,12)}'  ./src/../manifest >>VERSION.h
./makeheaders  add_.c:add.h allrepo_.c:allrepo.h bag_.c:bag.h blob_.c:blob.h
bra
nch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h
checkin_.c:
checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h
comfo
rmat_.c:comformat.h configure_.c:configure.h construct_.c:construct.h
content_.c
:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h
descendants_.c:des
cendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h
encode_.c:encode.h f
ile_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h
http_socket_.c:ht
tp_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h
info_.c:in
fo.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h
merge_.
c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h
pqueue_.c:pqueue.h
printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h
rstats_.
c:rstats.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h
sha1_.c:sha1.h
 shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h
sync_.c:sync.h
tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h
tktsetup_.
c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h
verif
y_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h
winhttp
_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h ./src/sqlite3.h ./src/th.h
VERSION.h
blob_.c:309: This '#if' has no '#endif'
touch headers
gcc -Os -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include  -I. -I./src -o
add.
o -c add_.c
In file included from add_.c:28:
add.h:3: error: syntax error before '*' token
add.h:10: error: syntax error before "g"
add.h:10: warning: type defaults to `int' in declaration of `g'
add.h:10: warning: data definition has no type or storage class
add.h:17: error: syntax error before '*' token
add.h:18: error: syntax error before '*' token
add.h:19: error: syntax error before '*' token
add.h:20: error: syntax error before '*' token
add.h:21: error: syntax error before "Blob"
add.h:24: error: syntax error before '*' token
add.h:25: error: syntax error before '*' token
add.h:27: error: syntax error before '*' token
add.h:33: error: syntax error before '*' token
add.h:34: error: syntax error before '*' token
add.h:35: error: syntax error before "Blob"
In file included from add_.c:28:
add.h:37:29: unterminated argument list invoking macro "assert"
In file included from add_.c:29:
n:/apps/mingw/include/assert.h:38: error: syntax error before "void"
add_.c:41: error: syntax error before "Blob"
add_.c: In function `add_one_file':
add_.c:42: error: `Blob' undeclared (first use in this function)
add_.c:42: error: (Each undeclared identifier is reported only once
add_.c:42: error: for each function it appears in.)
add_.c:42: error: syntax error before "pathname"
add_.c:45: error: `zName' undeclared (first use in this function)
add_.c:45: error: `pathname' undeclared (first use in this function)
add_.c:50: error: `pOmit' undeclared (first use in this function)
add_.c:69: error: `vid' undeclared (first use in this function)
add_.c: In function `add_directory_content':
... + many other errors...
make: *** [add.o] Error 1
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to