HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: MAC OS X make failure
Author: Terry Luedtke
Date: 01/05/2004 19:22
 
Hello,

According to the libtool manual page (snippet below) a minor
 version number must be less than 256, so the version number
2.330 is invalid for darwin's tool.

-current_version number
              For dynamic shared library files this
specifies the current version  number  of the library.  The
program using the library can obtain the current version of
the  library  programmatically  to determine exactly which
version of the library it is using.  The format of number is
X[.Y[.Z]] where X must be  a  positive  non-zero  number 
less  than  or  equal  to 65535, and .Y and .Z are optional
and if present must be non-negative numbers  less  than or 
equal  to 255.  If this is not specified then it has a value
of 0.


I'm able to get past this by removing "-current_version
$minor_current.$revision" from ltmain.sh and libtool scripts.

Now the build is complaining that HTS_PLATFORM isn't defined.

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O -g3 -Wall
-Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wnested-externs
-D_REENTRANT -DINET6
-DPREFIX=\""/export/home/luedtket/httrack"\"
-DSYSCONFDIR=\""/export/home/luedtket/httrack/etc"\"
-DDATADIR=\""/export/home/luedtket/httrack/share"\"
-DLIBDIR=\""/export/home/luedtket/httrack/lib"\"    -g -O2
-MT htsweb.o -MD -MP -MF ".deps/htsweb.Tpo" \
  -c -o htsweb.o `test -f 'htsweb.c' || echo './'`htsweb.c; \
then mv ".deps/htsweb.Tpo" ".deps/htsweb.Po"; \
else rm -f ".deps/htsweb.Tpo"; exit 1; \
fi
htsweb.c: In function `main':
htsweb.c:174: error: `HTS_PLATFORM' undeclared (first use in
this function)
htsweb.c:174: error: (Each undeclared identifier is reported
only once
htsweb.c:174: error: for each function it appears in.)
/usr/include/ctype.h: At top level:
htsserver.h:110: warning: `StringAcquire' defined but not used
htsserver.h:118: warning: `StringStrcat' defined but not used
make[2]: *** [htsweb.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


==
Terry Luedtke
National Libray of Medicine
 
Reply Create subthread


All articles

Subject Author Date
MAC OS X make failure

11/26/2003 17:57
Re: MAC OS X make failure

11/28/2003 19:30
Re: MAC OS X make failure

11/28/2003 19:31
Re: MAC OS X make failure

12/01/2003 19:52
Re: MAC OS X make failure

12/02/2003 20:42
Re: MAC OS X make failure

12/02/2003 21:24
Re: MAC OS X make failure

12/02/2003 21:32
Re: MAC OS X make failure

12/17/2003 07:05
Re: MAC OS X make failure

12/17/2003 20:07
Re: MAC OS X make failure

12/18/2003 21:14
Re: MAC OS X make failure

01/05/2004 19:22
Re: MAC OS X make failure

01/05/2004 21:20
Re: MAC OS X make failure

01/08/2004 21:56




5

Created with FORUM 2.0.11