os x make error...
poncenby smythe
smythe at poncenby.plus.com
Fri Oct 13 16:55:58 EDT 2006
if it helps anyone in the same situation then the solution (using
that word lightly!) is to comment out the lines which error, they being
34
39
44
that's when using the following:
Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --
disable-checking --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/
s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
i would download xcode 2.4 but you need to have an apple account, so
maybe not.
an aside:
i've compiled both argus and client tools on the following platform
and both work without error, just so you know:
ubuntu 6.06 2.6.15-26-amd64-k8 #1 SMP
however....
on the above amd64 platform continuous running of ragraph seems to
make the system unstable,
that's working with an argus file around 9mb.
once running the cpu goes to 100%, then after a while the cpu will go
normal but the disk will then start writing frantically and never
finish.
i understand ragraph is a perl interface to a few different argus
tools and rrd. how would I go about debugging this weird behaviour.
i remember something about creating a .debug file in the build
directory but then what??
thanks very much for your time.
poncenby
On 12 Oct 2006, at 20:51, poncenby smythe wrote:
> info:
> Darwin lusers-ibook-g4.local 8.8.0 Darwin Kernel Version 8.8.0: Fri
> Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power
> Macintosh powerpc
> OS 10.4.8
> argus-client-3.0.0 rc32
>
> thanks guys!
>
>
>
> ./configure --prefix=/Users/luser/argus-client-3.0.0.rc.32/out/
> checking build system type... powerpc-apple-darwin8.8.0
> checking host system type... powerpc-apple-darwin8.8.0
> checking target system type... powerpc-apple-darwin8.8.0
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking gcc version... 4
> checking for inline... inline
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> checking for flex... flex
> checking for flex 2.4 or higher... yes
> checking for bison... bison
> checking for ranlib... ranlib
> checking if unaligned accesses fail... no
> checking for vfprintf... yes
> checking for strcasecmp... yes
> checking for strlcat... yes
> checking for strlcpy... yes
> checking for strdup... yes
> checking for strftime... yes
> checking for setlinebuf... yes
> checking for alarm... yes
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking sys/bitypes.h usability... no
> checking sys/bitypes.h presence... no
> checking for sys/bitypes.h... no
> checking for int8_t... yes
> checking for u_int8_t... yes
> checking for int16_t... yes
> checking for u_int16_t... yes
> checking for int32_t... yes
> checking for u_int32_t... yes
> checking for int64_t... yes
> checking for u_int64_t... yes
> checking for inttypes.h... (cached) yes
> checking whether inttypes.h defines the PRI[doxu]64 macros... yes
> checking sasl.h usability... no
> checking sasl.h presence... no
> checking for sasl.h... no
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> checking for local tcp_wrappers library... not found
> checking for system tcp_wrappers library... yes
> checking sys/sockio.h usability... yes
> checking sys/sockio.h presence... yes
> checking for sys/sockio.h... yes
> checking for string.h... (cached) yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/file.h usability... yes
> checking sys/file.h presence... yes
> checking for sys/file.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking for ether_hostton... yes
> checking for strerror... yes
> checking for strtof... yes
> checking curses.h usability... yes
> checking curses.h presence... yes
> checking for curses.h... yes
> checking for initscr in -lcurses... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ANSI C header files... (cached) yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating ./common/Makefile
> config.status: creating ./clients/Makefile
> config.status: creating ./ragraph/Makefile
> config.status: creating ./ratop/Makefile
> config.status: creating ./ragrep/Makefile
> config.status: creating ./radium/Makefile
>
> make
>
> making in ./common
> gcc -O3 -I. -I../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=
> \"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -
> DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -DARGUS_SYSLOG -c ./argus_main.c
> In file included from /usr/include/netdb.h:84,
> from ../include/argus_main.h:61,
> from ./argus_main.c:76:
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: two or more data types in declaration specifiers
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'short'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: two or more data types in declaration specifiers
> make[1]: *** [argus_main.o] Error 1
> making in ./clients
> gcc -O3 -I. -I../include -I../common -DPACKAGE_NAME=\"\" -
> DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -
> DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -c ./ra.c
> In file included from /usr/include/netdb.h:84,
> from ../include/argus_main.h:61,
> from ./ra.c:44:
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: two or more data types in declaration specifiers
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'short'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: two or more data types in declaration specifiers
> make[1]: *** [ra.o] Error 1
> making in ./ragraph
> make[1]: Nothing to be done for `all'.
> making in ./ratop
> gcc -O3 -I. -I../include -I../common -DPACKAGE_NAME=\"\" -
> DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -
> DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -c ./ratop.c
> In file included from /usr/include/netdb.h:84,
> from ../include/argus_main.h:61,
> from ./ratop.c:41:
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: two or more data types in declaration specifiers
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'short'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: two or more data types in declaration specifiers
> make[1]: *** [ratop.o] Error 1
> making in ./radium
> gcc -O3 -I. -I../include -I../common -DPACKAGE_NAME=\"\" -
> DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -
> DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -c ./radium.c
> In file included from /usr/include/netdb.h:84,
> from ../include/argus_main.h:61,
> from ./radium.h:68,
> from ./radium.c:41:
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: two or more data types in declaration specifiers
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'short'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: two or more data types in declaration specifiers
> make[1]: *** [radium.o] Error 1
> making in ./ragrep
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=
> \"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
> DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -
> DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -I. -I../include -DLOCALEDIR=\"/Users/luser/argus-
> client-3.0.0.rc.32/out//share/locale\" -O3 -I. -I./../include -
> I./../common -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
> DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=
> \"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -
> DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -
> DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
> DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
> DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
> DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -
> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -
> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -
> DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DHAVE_DARWIN=1 -
> DSTDC_HEADERS=1 -c ragrep.c
> In file included from /usr/include/netdb.h:84,
> from ../include/argus_main.h:61,
> from ragrep.c:42:
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:34:
> error: two or more data types in declaration specifiers
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:39:
> error: duplicate 'short'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: duplicate 'unsigned'
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/include/stdint.h:44:
> error: two or more data types in declaration specifiers
> make[2]: *** [ragrep.o] Error 1
> make[1]: *** [all-recursive] Error 1
> --
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net
More information about the argus
mailing list