![]() |
|
|
|
|
1
14th November 06:30
External User
Posts: 1
|
$B$*@$OC$K$J$C$F$*$j$^$9!#(B
$B%D%?%M%9(B@TSTI$B$G$9!#(B SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: From: dtutanes To: mysql@lists.mysql.com Subject: [50 character or so descriptive subject here (for reference)] Error in compilation of MySQL 3.23.55 <precise description of the problem (multiple lines)> I was trying to install MySQL 3.23.55 on our HP-UX server. There were errors generated when I tried to compile it. Error points to the socket.h file in /usr/include/sys <code/input/activities to reproduce the problem (multiple lines)> To configure : shell> CC=gcc CXX=gcc ./configure from config.log : In file included from configure:16184: /usr/include/sys/socket.h:470: error: `a' was not declared in this scope /usr/include/sys/socket.h:470: error: `b' was not declared in this scope /usr/include/sys/socket.h:470: error: `c' was not declared in this scope /usr/include/sys/socket.h:470: error: `d' was not declared in this scope /usr/include/sys/socket.h:470: error: `e' was not declared in this scope /usr/include/sys/socket.h:470: error: `f' was not declared in this scope /usr/include/sys/socket.h:470: error: `sendfile' declared as an `inline' variable /usr/include/sys/socket.h:470: error: `sbsize_t sendfile' redeclared as different kind of symbol To compile : shell> gmake Error that occured : In file included from ../include/global.h:394, from client_priv.h:19, from mysql.cc:28: /usr/include/sys/socket.h:470: error: `a' was not declared in this scope /usr/include/sys/socket.h:470: error: `b' was not declared in this scope /usr/include/sys/socket.h:470: error: `c' was not declared in this scope /usr/include/sys/socket.h:470: error: `d' was not declared in this scope /usr/include/sys/socket.h:470: error: `e' was not declared in this scope /usr/include/sys/socket.h:470: error: `f' was not declared in this scope /usr/include/sys/socket.h:470: error: `sendfile' declared as an `inline' variable /usr/include/sys/socket.h:470: error: `sbsize_t sendfile' redeclared as different kind of symbol /usr/include/sys/socket.h:468: error: previous declaration of `sbsize_t sendfile(int, int, long long int, long long unsigned int, const iovec*, int) ' <how to correct or work around the problem, if known (multiple lines)> <organization of PR author (multiple lines)> none high <machine, os, target, libraries (multiple lines)> System: HP-UX hawk B.11.11 U 9000/785 2004752380 $BL5@)8B$N%f!<%6!&%i%$%;%s%9(B Some paths: /usr/contrib/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/local/bin/gcc /usr/bin/cc GCC: /usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3/specs $B$+$i(B spec $B$rFI$_9~$_(B $BCf(B $B%3%s%U%#%0%*%W%7%g%s(B: ./configure $B%9%l%C%I%b%G%k(B: single gcc version 3.3 Compilation info: CC='@CC@' CFLAGS='@CFLAGS@' CXX='@CXX@' CXXFLAGS='@CXXFLAGS@' LDFLAGS='@LDFLAGS@' LIBC: lrwxr-xr-x 1 root root 8 7$B7n(B 27$BF|(B 20:11 /lib/libc.0 -> ../libc.1 -r-xr-xr-x 1 bin bin 1863680 11$B7n(B 14$BF|(B 2000$BG/(B /lib/libc.1 -r-xr-xr-x 1 bin bin 1740800 11$B7n(B 14$BF|(B 2000$BG/(B /lib/libc.2 -r--r--r-- 1 bin bin 2473300 11$B7n(B 14$BF|(B 2000$BG/(B /lib/libc.a lrwxr-xr-x 1 root root 15 7$B7n(B 27$BF|(B 20:11 /lib/libc.sl -> /usr/lib/libc.2 lrwxr-xr-x 1 root root 8 7$B7n(B 27$BF|(B 20:11 /usr/lib/libc.0 -> ../libc.1 $B0J>e!"$h$m$7$/$*4j$$$7$^$9!#(B -------------------------------- Dennis Francis B. Tutanes Project Leader Tsukiden Software Technologies, Inc. mailto:dtutanes@tspi.com.ph -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw |
|
|
|