linux-sparc: compile warnings

AlexII AlexII na point.sk
Sobota Říjen 7 21:20:30 CEST 2000


Dobry den :)

Uff tak zase jeden problem. Pri kompilacii cohokolvek na RH 6.2 sparc64 dostavam neustale
warnings (vid nizsie). Ide o konflikt medzi kernel includes a glibc ? na kolko je to vazne
? Skompilovane aplikacie funguju tak ako sa ocakava. Kombinaciu SPARC-linux zatial iba
'spoznavam' preto ma prosim nekamenujte za mozno hlupu otazku.

Conf:
=============
HW SUN Ultra 5
RH 6.2 (UltraSPARC)
kernel-2.2.17
glibc-2.1.3-21


kratka ukazka (kompilacia postgresu):

--- start ---
gcc -I../../../include -I../../../backend   -O2 -Wall -Wmissing-prototypes -Wmissing-decla
rations -I../..   -c -o inet_net_pton.o inet_net_pton.c
In file included from /usr/include/bits/socket.h:295,
                 from /usr/include/sys/socket.h:34,
                 from inet_net_pton.c:24:
/usr/include/asm/socket.h:49: warning: `SOCK_STREAM' redefined
/usr/include/bits/socket.h:42: warning: this is the location of the previous definition
/usr/include/asm/socket.h:50: warning: `SOCK_DGRAM' redefined
/usr/include/bits/socket.h:45: warning: this is the location of the previous definition
/usr/include/asm/socket.h:51: warning: `SOCK_RAW' redefined
/usr/include/bits/socket.h:47: warning: this is the location of the previous definition
/usr/include/asm/socket.h:52: warning: `SOCK_RDM' redefined
/usr/include/bits/socket.h:49: warning: this is the location of the previous definition
/usr/include/asm/socket.h:53: warning: `SOCK_SEQPACKET' redefined
/usr/include/bits/socket.h:52: warning: this is the location of the previous definition
/usr/include/asm/socket.h:54: warning: `SOCK_PACKET' redefined
/usr/include/bits/socket.h:56: warning: this is the location of the previous definition
--- end ---


 ---------------------------------
  -=<o>=- AlexII na point.sk -=<o>=-
      mailto:AlexII na point.sk
 ---------------------------------
 I'm not a guru i'm HOW-TO reader.





Další informace o konferenci Linux