[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntop-2.1.54 - errors during configure/compile on Solaris 8 (64bit) S
From: |
Akim Demaille |
Subject: |
Re: ntop-2.1.54 - errors during configure/compile on Solaris 8 (64bit) Sun Ultra2 |
Date: |
Wed, 26 Feb 2003 11:23:07 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 |
| I am trying to compile ntop-2.1.54 source on a Sun Ultra2 running Solaris8
| (64bit). I get the below errors. at the end of the configure script,
| these are the only errors I have. is this really a bug or more likely am
| I doing something wrong? any assistance you can provide is awesome, I'm
| sure you have quite a bit of these emails to look at..
|
|
|
| checking for net/ethernet.h... no
| checking net/if.h usability... no
| checking net/if.h presence... yes
| configure: WARNING: net/if.h: present but cannot be compiled
| configure: WARNING: net/if.h: check for missing prerequisite headers?
| configure: WARNING: net/if.h: proceeding with the preprocessor's result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for net/if.h... yes
| checking netinet/if_ether.h usability... no
| checking netinet/if_ether.h presence... yes
| configure: WARNING: netinet/if_ether.h: present but cannot be compiled
| configure: WARNING: netinet/if_ether.h: check for missing prerequisite
| headers?
| configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's
| result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for netinet/if_ether.h... yes
| checking netinet/in_systm.h usability... yes
| checking netinet/in_systm.h presence... yes
| checking for netinet/in_systm.h... yes
| checking netinet/ip.h usability... no
| checking netinet/ip.h presence... yes
| configure: WARNING: netinet/ip.h: present but cannot be compiled
| configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
| configure: WARNING: netinet/ip.h: proceeding with the preprocessor's
| result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for netinet/ip.h... yes
| checking netinet/ip_icmp.h usability... no
| checking netinet/ip_icmp.h presence... yes
| configure: WARNING: netinet/ip_icmp.h: present but cannot be compiled
| configure: WARNING: netinet/ip_icmp.h: check for missing prerequisite
| headers?
| configure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's
| result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for netinet/ip_icmp.h... yes
| checking netinet/tcp.h usability... yes
| checking netinet/tcp.h presence... yes
| checking for netinet/tcp.h... yes
| checking netinet/udp.h usability... no
| checking netinet/udp.h presence... yes
| configure: WARNING: netinet/udp.h: present but cannot be compiled
| configure: WARNING: netinet/udp.h: check for missing prerequisite headers?
| configure: WARNING: netinet/udp.h: proceeding with the preprocessor's
| result
| configure: WARNING: ## ------------------------------------ ##
| configure: WARNING: ## Report this to address@hidden ##
| configure: WARNING: ## ------------------------------------ ##
| checking for netinet/udp.h... yes
|
|
|
|
| i try to gmake after configure is done, but it fails out, here is the last
| part of it:
|
|
|
|
| then mv ".deps/main.Tpo" ".deps/main.Po"; \
| else rm -f ".deps/main.Tpo"; exit 1; \
| fi
| cc1: warning: changing search order for system directory
| "/usr/local/include"
| cc1: warning: as it has already been specified as a non-system directory
| if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
| -I/usr/local/include -I/local4/source/ntop-2.1.54/gdchart0.9
| 4c -I/usr/local/rrdtool-1.0.37/include -DSOLARIS -g -O2 -Wshadow
| -Wpointer-arith -Wmissing-prototypes -Wmissing-declar
| ations -Wnested-externs -fPIC -DSOLARIS -g -O2 -Wshadow -Wpointer-arith
| -Wmissing-prototypes -Wmissing-declarations -Wn
| ested-externs -fPIC -MT admin.o -MD -MP -MF ".deps/admin.Tpo" \
| -c -o admin.o `test -f 'admin.c' || echo './'`admin.c; \
| then mv ".deps/admin.Tpo" ".deps/admin.Po"; \
| else rm -f ".deps/admin.Tpo"; exit 1; \
| fi
| cc1: warning: changing search order for system directory
| "/usr/local/include"
| cc1: warning: as it has already been specified as a non-system directory
| /bin/bash ./libtool --mode=link gcc -DSOLARIS -g -O2 -Wshadow
| -Wpointer-arith -Wmissing-prototypes -Wmissing-declaration
| s -Wnested-externs -fPIC -DSOLARIS -g -O2 -Wshadow -Wpointer-arith
| -Wmissing-prototypes -Wmissing-declarations -Wnested
| -externs -fPIC -o ntop main.o admin.o libntopreport.la libntop.la
| -lposix4 -lpthread -lresolv -lsocket -lnsl -lpng -
| lgd -lc -lm -lz -lssl -lgdbm -lcrypto -ldl -lnsl -lc -L/usr/local/lib
| -lpcap -L/usr/local/lib -lgdbm -L/local4/source/n
| top-2.1.54/gdchart0.94c -lgdchart
| gcc -DSOLARIS -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes
| -Wmissing-declarations -Wnested-externs -fPIC -DSOLAR
| IS -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes
| -Wmissing-declarations -Wnested-externs -fPIC -o .libs/ntop main
| .o admin.o ./.libs/libntopreport.so -L/usr/local/lib
| -L/local4/source/ntop-2.1.54/gdchart0.94c ./.libs/libntop.so -lpos
| ix4 -lpthread -lresolv -lsocket -lpng -lgd -lm -lz -lssl -lcrypto -ldl
| -lnsl -lc -lpcap /usr/local/lib/libgdbm.so -lgdch
| art -R/usr/local/lib
| Undefined first referenced
| symbol in file
| gdImageLine
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageColorAllocate
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageSetPixel
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImageColorDeallocate
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImageFilledPolygon
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageStringUp
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdFontGiant
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc.o)
| gdImagePng
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageString
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageArc
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageColorExact
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdFontTiny
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc.o)
| gdFontMediumBold
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc.o)
| gdImageCreateFromPng
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdFontSmall
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc.o)
| gdImageCopyResized
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImageDestroy
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageColorTransparent
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImagePolygon
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImageCreate
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdImageCopy
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdchart.o)
| gdImageFillToBorder
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| gdFontLarge
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc.o)
| gdImageColorClosest
| /local4/source/ntop-2.1.54/gdchart0.94c/libgdchart.a(gdc_pie.o)
| ld: fatal: Symbol referencing errors. No output written to .libs/ntop
| collect2: ld returned 1 exit status
| gmake[2]: *** [ntop] Error 1
| gmake[2]: Leaving directory `/local4/source/ntop-2.1.54/ntop'
| gmake[1]: *** [all-recursive] Error 1
| gmake[1]: Leaving directory `/local4/source/ntop-2.1.54/ntop'
| gmake: *** [all] Error 2
|
|
Please, report this to the package maintainers, as it's a configure.ac
problem. The Autoconf 2.57 doc says:
Previous versions of Autoconf merely checked whether the header was
accepted by the preprocessor. This was changed because the old test was
inappropriate for typical uses. Headers are typically used to compile,
not merely to preprocess, and the old behavior sometimes accepted
headers that clashed at compile-time. If you need to check whether a
header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
Running the Preprocessor::).
This scheme, which improves the robustness of the test, also requires
that you make sure that headers that must be included before the
HEADER-FILE be part of the INCLUDES, (*note Default Includes::). If
looking for `bar.h', which requires that `foo.h' be included before if
it exists, we suggest the following scheme:
AC_CHECK_HEADERS([foo.h])
AC_CHECK_HEADERS([bar.h], [], [],
[#if HAVE_FOO_H
# include <foo.h>
# endif
])
Thanks!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: ntop-2.1.54 - errors during configure/compile on Solaris 8 (64bit) Sun Ultra2,
Akim Demaille <=