From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f53952b0bc9a168,start X-Google-Attributes: gidfee84,public From: J.Voss@cqu.edu.au (John Voss, Info. Tech. Division) Subject: BIND4.9.3-BETA17 compile on OSF V2.1 Date: 1995/05/24 Message-ID: <1995May24.231601@topaz>#1/1 X-Deja-AN: 103239685 organization: Central Queensland University, Australia newsgroups: comp.unix.osf.osf1 I've tried compiling bind-4.9.3-BETA17 on an Alpha box running OSF/1 V2.1. It seems to compile fine until it hits named/ns_main.c and then barks about re-declarations. I'm using DEC's standard C compiler. I've tried exactly the same thing on another OSF box running V3.2A and everthings sweet. Any thoughts? John Output of Make. for x in include lib ; do (cd $x; make "DESTDIR=" "INCL=../../include" "COMPINC L=../../compat/include" "DESTLIB=/usr/lib" "DESTINC=/usr/include" "CC=cc -std -Olimit 2000" "INSTALL=installbsd" "RANLIB=ranlib" "LDS=" "AR=ar cru" 'ARPREF= ' 'ARSUFF=' all); done for x in sys; do (cd $x; make DESTDIR="" DESTINC="/usr/include" INSTALL="instal lbsd" all); done /usr/users/staff/vossj/bind-4.9.3-BETA17/named cc -std -Olimit 2000 -g -I../include -I../compat/include -D_PATH_XFER=\"/usr/sb in/named-xfer\" -D_PATH_PIDFILE=\"/var/run/named.pid\" -c ns_main.c /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/socket.h, line 332: redeclaratio n of '_UNSUPPORTED_'; previous declaration at line 329 in file '/usr/include/sys /socket.h' extern int _UNSUPPORTED_ (int, const void *, int, int); -----------^ /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/socket.h, line 332: Incompatible type for the function parameter extern int _UNSUPPORTED_ (int, const void *, int, int); -------------------------------^ *** Exit 1 Stop. *** Exit 1 Stop. musgrav -- -------------------------------------------------------------------------------- CC QQ U U John D. Voss Internet: J.Voss@cqu.edu.au _--_|\ C Q Q U U Info. Tech. Division Phone: (+)61 79 309804 -/------*- C Q Q U U Central Queensland University Fax: (+)61 79 309254 \_.--._/ CC QQ\ UU Rockhampton, Queensland 4702 AUSTRALIA v --------------------------------------------------------------------------------