Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > MySQL 3.23.55 compilation errors
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 14th November 06:30
dtutanes
External User
 
Posts: 1
Default MySQL 3.23.55 compilation errors



$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
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666