os x make error...

Carter Bullard carter at qosient.com
Thu Oct 12 16:33:03 EDT 2006


Hey Poncenby,
I develop argus on a ppc g5 machine with the exact same kernel, etc.   
The trick
maybe the version of xtools that you are using.  Here are the version  
numbers from
my gcc:

isis:/home/carter/argus/clients carter$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- 
slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple- 
darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)

is this close at all to your setup?

Carter


On Oct 12, 2006, at 3:51 PM, 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
>

Carter Bullard
CEO/President
QoSient, LLC
150 E. 57th Street Suite 12D
New York, New York 10022

+1 212 588-9133 Phone
+1 212 588-9134 Fax


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20061012/80292ea1/attachment.html>


More information about the argus mailing list