[Nagiosplug-devel] [ nagiosplug-Bugs-1515435 ] CVS snapshot on Tru64 (Cannot find file "c-strtod.h")

SourceForge.net noreply at sourceforge.net
Mon Jul 3 09:57:45 CEST 2006


Bugs item #1515435, was opened at 2006-07-01 07:46
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1515435&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ciro Iriarte (cyruspy)
>Assigned to: Ton Voon (tonvoon)
Summary: CVS snapshot on Tru64 (Cannot find file "c-strtod.h")

Initial Comment:
I'm trying to compile nagios-plugins on Tru64 5.1b, to
monitor by ssh our production servers, here's the
output, before ./configure;make

No suffix list.
make  all-recursive
No suffix list.
Making all in lib
sed -e 's/@''HAVE__BOOL''@/1/g' ./stdbool_.h > stdbool.ht
mv stdbool.ht stdbool.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
make  all-am
source='cloexec.c' object='cloexec.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -
c cloexec.c
source='full-read.c' object='full-read.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
-g -c full-read.c
source='full-write.c' object='full-write.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
  -g -c full-write.c
source='safe-read.c' object='safe-read.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
-g -c safe-read.c
source='safe-write.c' object='safe-write.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
  -g -c safe-write.c
source='xalloc-die.c' object='xalloc-die.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
  -g -c xalloc-die.c
source='malloc.c' object='malloc.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -c
malloc.c
source='realloc.c' object='realloc.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -
c realloc.c
source='error.c' object='error.o' libtool=no 
DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl     -g -c er
ror.c
source='getloadavg.c' object='getloadavg.o' libtool=no
 DEPDIR=.deps depmode=tru64 /bin/ksh ../depcomp  cc
-DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl
  -g -c getloadavg.c
cc: Severe: getloadavg.c, line 107: Cannot find file
"c-strtod.h" specified in #include directive. (noinclfilef)
# include "c-strtod.h"
--^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.


----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2006-07-03 08:57

Message:
Logged In: YES 
user_id=664364

Ciro,

Thanks for the report. I've committed an update to CVS to include c-strtod.h 
from coreutils 5.96. Also, I've removed the non-portable -Wall compiler flags.

Can you add a Tru64 build server to http://tinderbox.altinity.org ? This will 
make sure the plugins always compile on your favourite platform.

Ton


----------------------------------------------------------------------

Comment By: Ciro Iriarte (cyruspy)
Date: 2006-07-01 14:38

Message:
Logged In: YES 
user_id=1548408

Well, i created c-strtod.h in lib directory and replaced
getloadavg.c with an aparently newer version. Needed to
comment "char *basename(const char *path);" in
plugins/utils.h (line 84). I'm not sure if this is the
correct way to solve it, but i'm seeing less errors :D. Now
i'm getting this error:

----Start-----
iriartec at es45-1:/usr/users/iriartec/src/nagios-plugins-HEAD-200606302352>
make
No suffix list.
make  all-recursive
No suffix list.
Making all in lib
make  all-am
Making all in plugins
Making all in tests
/bin/ksh ../libtool --mode=link --tag=CC cc -Wall -g   -L.
-o check_apt  check_apt.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a runcmd.o -lssl -lcrypto
cc -Wall -g -o check_apt check_apt.o utils.o runcmd.o 
-L/usr/users/iriartec/src/nagios-plugins-HEAD-200606302352/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lssl -lcrypto
ld:
Invalid flag usage: Wall, -Wx,-option must appear after
-_SYSTYPE_SVR4
ld: Usage: ld [options] file [...]
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
------End------

Any ideas?, probably a configure issue?

Ciro

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1515435&group_id=29880




More information about the Devel mailing list