- 'make distclean', followed by './configure', followed by 'make' got
rid of the attgetopt.c problem.

-  someone else emailed me that it should be -DSOLARIS, not -DSunOS. is
this true?

- at link time and run time (and in the config.log file), I get the
following error:

/usr/local/sparc-sun-solaris2.7/bin/ld: warning: libgcc_s.so.1, needed
by /usr/local/lib/libz.so, not found (try using -rpath or -rpath-link)

does this imply that gcc 3.0 or greater is required?

Matt


> -----Original Message-----
> From: Derry Hamilton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 18, 2001 3:51 AM
> Cc: [EMAIL PROTECTED]
> Subject: Re: compile error on solaris 7: attgetopt.c
> 
> 
> Matt Parker wrote:
> > 
> > Compiling the source on Solaris 7 with gcc 2.95.3, I get 
> the following:
> > 
> > gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml
> > -I/usr/local/include -DSunOS=1 -o utils/attgetopt.o -c 
> utils/attgetopt.c
> > utils/attgetopt.c:21: conflicting types for 'getopt'
> > /usr/include/stdio.h:368: previous declaration of 'getopt'
> > make: *** [utils/attgetopt.o] Error 1
> > 
> > anybody seen this one?
> 
> That's odd, it shouldn't need to compile attgetopt under Solaris since
> the supplied implementation is perfectly good.  It appears that the
> system implementation is present since that is what it is conflicting
> with.  try make distclean followed by a ./configure and see 
> if it manages
> to find the system one.  I've just checked the latest CVS version with
> 2.95.2 and there doesn't seem to be a problem.
> 
> -- 
> Derry Hamilton, [EMAIL PROTECTED]
> "I think your cats need tuning - according to a couple of 
> quick measurements
> on a recently calibrated reference cat, the dominant 
> frequency of a correctly
> adjusted cat should be 12Hz +/-20%."  ===Lionel Lauer on a.s.r===
> 
> 

Reply via email to