knowledge-database (beta)

Current group: ka.test

ignore my new sun

ignore my new sun  
Dennis Grevenstein
 Re: ignore my new sun  
Urs Janßen
From:Dennis Grevenstein
Subject:ignore my new sun
Date:4 Jan 2005 06:37:38 GMT
cc -fast -DHAVE_CONFIG_H -I. -I../include -I../pcre -I../pcre -DLOCALEDIR=\"/usr/local/share/locale\" -I../include -I../intl -c ./active.c
cc: Warning: -xarch=native has been explicitly specified, or implicitly specified by a macro option, -xarch=native on this architecture implies -xarch=v8plusb which generates code that does not run on pre UltraSPARC III processors
"./active.c", line 218: warning: implicit function declaration: strtok
"./active.c", line 219: warning: improper pointer/integer combination: op "="
"./active.c", line 220: warning: improper pointer/integer combination: op "="
"./active.c", line 221: warning: improper pointer/integer combination: op "="
"./active.c", line 230: warning: implicit function declaration: strcpy
"./active.c", line 281: warning: implicit function declaration: strpbrk
"./active.c", line 281: warning: improper pointer/integer combination: op "="
"./active.c", line 292: warning: implicit function declaration: strncpy
"./active.c", line 347: warning: implicit function declaration: strcmp
"./active.c", line 790: warning: implicit function declaration: strlen
"./active.c", line 968: incomplete struct/union/enum stat: stat_info
"./active.c", line 979: warning: implicit function declaration: stat
"./active.c", line 980: undefined struct/union member: st_mode
"./active.c", line 980: undefined symbol: S_IFDIR
"./active.c", line 1029: warning: implicit function declaration: unlink
cc: acomp failed for ./active.c
*** Error code 2
make: Fatal error: Command failed for target `active.o'

dennis@asuka:~$ uname -a
SunOS asuka 5.10 s10_72 sun4u sparc SUNW,Sun-Blade-1000
dennis@asuka:~$ cc -V
cc: Sun C 5.6 2004/07/15

Wenn man ganz gemuetlich mit -O2 rangeht funktioniert es aber...
Das muss ich jetzt nicht verstehen, oder?

mfg
Dennis
From:Urs Janßen
Subject:Re: ignore my new sun
Date:4 Jan 2005 12:19:35 GMT
In , Dennis Grevenstein wrote:
> cc -fast -DHAVE_CONFIG_H -I. -I../include -I../pcre -I../pcre -DLOCALEDIR=\"/usr/local/share/locale\" -I../include -I../intl -c ./active.c
> cc: Warning: -xarch=native has been explicitly specified, or implicitly specified by a macro option, -xarch=native on this architecture implies -xarch=v8plusb which generates code that does not run on pre UltraSPARC III processors
> "./active.c", line 218: warning: implicit function declaration: strtok
> "./active.c", line 219: warning: improper pointer/integer combination: op "="
> "./active.c", line 220: warning: improper pointer/integer combination: op "="
> "./active.c", line 221: warning: improper pointer/integer combination: op "="
> "./active.c", line 230: warning: implicit function declaration: strcpy
> "./active.c", line 281: warning: implicit function declaration: strpbrk
> "./active.c", line 281: warning: improper pointer/integer combination: op "="
> "./active.c", line 292: warning: implicit function declaration: strncpy
> "./active.c", line 347: warning: implicit function declaration: strcmp
> "./active.c", line 790: warning: implicit function declaration: strlen
> "./active.c", line 968: incomplete struct/union/enum stat: stat_info
> "./active.c", line 979: warning: implicit function declaration: stat
> "./active.c", line 980: undefined struct/union member: st_mode
> "./active.c", line 980: undefined symbol: S_IFDIR
> "./active.c", line 1029: warning: implicit function declaration: unlink
> cc: acomp failed for ./active.c
> *** Error code 2
> make: Fatal error: Command failed for target `active.o'
>
> dennis@asuka:~$ uname -a
> SunOS asuka 5.10 s10_72 sun4u sparc SUNW,Sun-Blade-1000
> dennis@asuka:~$ cc -V
> cc: Sun C 5.6 2004/07/15
>
> Wenn man ganz gemuetlich mit -O2 rangeht funktioniert es aber...
> Das muss ich jetzt nicht verstehen, oder?

mal mit CFLAGS=-Xa (wobei das default sein sollte) oder -Xc probiert?

urs
--
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
so rarely."
   

Copyright © 2006 knowledge-database   -   All rights reserved