I was digging through the mailing list and I came across this. This is the
issue i am having as well. I am trying to compile on FreeBSD 4.5 Stable. I
got this last night and today after CVSUP-ing and deleting/redownloading the
tarball. Hope this helps out. I was able to compile it about 3 weeks ago
no problem so I don't know if it's something that got slightly changed in
the fam software or if it's something with fbsd.
Thanks
Rob
Here is a copy of my config.log
Milhouse# less config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:568: checking for a BSD compatible install
configure:621: checking whether build environment is sane
configure:678: checking whether gmake sets ${MAKE}
configure:724: checking for working aclocal
configure:737: checking for working autoconf
configure:750: checking for working automake
configure:763: checking for working autoheader
configure:776: checking for working makeinfo
configure:857: checking for c++
configure:889: checking whether the C++ compiler
(c++ -O -pipe -march=pentiumpro ) works
configure:905: c++ -o conftest -O -pipe -march=pentiumpro conftest.C
1>&5
configure:931: checking whether the C++ compiler
(c++ -O -pipe -march=pentiumpro ) is a cross-compiler
configure:936: checking whether we are using GNU C++
configure:964: checking whether c++ accepts -g
configure:996: checking how to run the C++ preprocessor
configure:1041: checking for ranlib
configure:1081: checking for a BSD compatible install
configure:1134: checking whether gmake sets ${MAKE}
configure:1236: checking host system type
configure:1257: checking build system type
configure:1277: checking for gcc
configure:1390: checking whether the C compiler
(cc -O -pipe -march=pentiumpro ) works
configure:1406: cc -o conftest -O -pipe -march=pentiumpro conftest.c 1>&5
configure:1432: checking whether the C compiler
(cc -O -pipe -march=pentiumpro ) is a cross-compiler
configure:1437: checking whether we are using GNU C
configure:1465: checking whether cc accepts -g
configure:1508: checking for ld used by GCC
configure:1571: checking if the linker (/usr/libexec/elf/ld) is GNU ld
configure:1587: checking for BSD-compatible nm
configure:1624: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe -march=pentiumpro conftest.c 1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe -march=pentiumpro -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe -march=pentiumpro -o out/conftest2.o
conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe -march=pentiumpro -c -o conftest.lo conftest.c
1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe -march=pentiumpro -fno-rtti -fno-exceptions -c
conftest.c conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe -march=pentiumpro -static conftest.c
1>&5
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719
[FreeBSD])
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe -march=pentiumpro conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e
[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9
]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: cc -o
conftest -O -pipe -march=pentiumpro -fno-builtin -fno-rtti -fno-exceptions
conftest.c conftstm.o 1>&5
configure:1806: checking for tar
configure:1842: checking for ldconfig
configure:1903: checking for linux/imon.h
configure:1913: c++ -E conftest.C >/dev/null 2>conftest.out
configure:1909: linux/imon.h: No such file or directory
configure: failed program was:
#line 1908 "configure"
#include "confdefs.h"
#include <linux/imon.h>
configure:1955: checking for sys/statvfs.h
configure:1965: c++ -E conftest.C >/dev/null 2>conftest.out
configure:1961: sys/statvfs.h: No such file or directory
configure: failed program was:
#line 1960 "configure"
#include "confdefs.h"
#include <sys/statvfs.h>
configure:1995: checking for sys/syssgi.h
configure:2005: c++ -E conftest.C >/dev/null 2>conftest.out
configure:2001: sys/syssgi.h: No such file or directory
configure: failed program was:
#line 2000 "configure"
#include "confdefs.h"
#include <sys/syssgi.h>
configure:2035: checking for sys/fs/nfs_clnt.h
configure:2045: c++ -E conftest.C >/dev/null 2>conftest.out
configure:2041: sys/fs/nfs_clnt.h: No such file or directory
configure: failed program was:
#line 2040 "configure"
#include "confdefs.h"
#include <sys/fs/nfs_clnt.h>
configure:2083: checking SGI_NOHANG
configure:2092: c++ -c -O -pipe -march=pentiumpro conftest.C 1>&5
configure:2086: sys/syssgi.h: No such file or directory
configure: In function `int main()':
configure:2088: `SGI_NOHANG' undeclared (first use this function)
configure:2088: (Each undeclared identifier is reported only once
configure:2088: for each function it appears in.)
configure: failed program was:
#line 2085 "configure"
#include "confdefs.h"
#include <sys/syssgi.h>
int main() {
int i = SGI_NOHANG;
; return 0; }
configure:2116: checking for _daemonize
configure:2147: c++ -o conftest -O -pipe -march=pentiumpro conftest.C
1>&5
/tmp/cc7wFRiP.o: In function `main':
/tmp/cc7wFRiP.o(.text+0x7): undefined reference to `_daemonize'
configure: failed program was:
#line 2121 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _daemonize(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _daemonize();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub__daemonize) || defined (__stub____daemonize)
choke me
#else
_daemonize();
#endif
; return 0; }
configure:2175: checking getgrmember
configure:2193: c++ -o conftest -O -pipe -march=pentiumpro conftest.C
1>&5
In file included from configure:2188:
/usr/include/grp.h:58: `gid_t' was not declared in this scope
configure: In function `int main()':
configure:2189: `NULL' undeclared (first use this function)
configure:2189: (Each undeclared identifier is reported only once
configure:2189: for each function it appears in.)
configure:2189: implicit declaration of function `int getgrmember(...)'
configure: failed program was:
#line 2183 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
#endif
#include <grp.h>
int main(void) { getgrmember(NULL, NULL, 0, 0); return 0; }
configure:2226: checking for stat.st_fstype string
configure:2238: c++ -c -O -pipe -march=pentiumpro conftest.C 1>&5
configure: In function `int main()':
configure:2234: `struct stat' has no member named `st_fstype'
configure: failed program was:
#line 2231 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat st; char *s = st.st_fstype;
; return 0; }
configure:2266: checking for mountlist struct
configure:2279: c++ -c -O -pipe -march=pentiumpro conftest.C 1>&5
configure: In function `int main()':
configure:2275: request for member `ml_name' in `ml', which is of
non-aggregate type `mountbody *'
configure: failed program was:
#line 2268 "configure"
#include "confdefs.h"
typedef int fhandle_t;
#include <rpc/rpc.h>
#include <rpcsvc/mount.h>
int main() {
mountlist ml; char *h = ml.ml_name;
; return 0; }
configure:2306: checking for mountlist pointer
configure:2315: c++ -c -O -pipe -march=pentiumpro conftest.C 1>&5
configure:2347: checking mntent.h for MNTTYPE_NFS
configure:2356: c++ -c -O -pipe -march=pentiumpro conftest.C 1>&5
configure:2350: mntent.h: No such file or directory
configure: In function `int main()':
configure:2352: `MNTTYPE_NFS' undeclared (first use this function)
configure:2352: (Each undeclared identifier is reported only once
configure:2352: for each function it appears in.)
configure: failed program was:
#line 2349 "configure"
#include "confdefs.h"
#include <mntent.h>
int main() {
const char *foo = MNTTYPE_NFS;
; return 0; }
>hi,
>i am trying to install fam and imon for a school project. but when i try
>to configure i get the following configure error:
>checking mntent.h for MNTTYPE_NFS... no
>configure: error: Didn't find MNTTYPE_NFS in mntent.h
>
>has anyone else encountered this problem? can you suggest how i get
>around it or solve it?
>
>also, once i install fam-2.6.7 does that give me imon as well?
>
>thanks,
>vikram
>
>--
>Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
>To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|