Bug #16329 | Compile failure : noinst_HEADERS | ||
---|---|---|---|
Submitted: | 10 Jan 2006 9:54 | Modified: | 16 Jan 2006 9:48 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.18 | OS: | HP/UX (HP-UX 11.00) |
Assigned to: | CPU Architecture: | Any |
[10 Jan 2006 9:54]
[ name withheld ]
[10 Jan 2006 10:04]
Valeriy Kravchuk
Thank you for a problem report. Please, send the results of the ggc -v command.
[10 Jan 2006 10:32]
[ name withheld ]
The gcc -v command result is : Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/specs Configured with: ./configure : (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured) ./configure Thread model: single gcc version 3.0.1
[10 Jan 2006 11:08]
Valeriy Kravchuk
And what is the result of make -v? Is it gmake or plain Hp-UX make?
[10 Jan 2006 11:27]
[ name withheld ]
Result of "make -v" command : Make: Unknown flag argument v. Stop. Result of "type make" command : make is a tracked alias for /usr/bin/make Result of "ll /usr/bin/make" command : lr-xr-xr-t 1 root sys 17 Jun 12 1996 /usr/bin/make -> /usr/ccs/bin/make Result of "gmake -v" command : GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for hppa2.0n-hp-hpux11.00 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <bug-make@gnu.org>. --- I've used make (hpux) and not gmake for the compilation. I'll try a compilation with gmake and post here the result.
[10 Jan 2006 11:44]
Valeriy Kravchuk
Yes, please, try to build with gmake, as it is used by default on all our build machines, and inform about the results.
[10 Jan 2006 13:56]
[ name withheld ]
Okay, the result after a compilation with gmake is : /usr/ccs/bin/ld: Unsatisfied symbols: __builtin_prefetch (code) collect2: ld returned 1 exit status gmake[4]: *** [mysqld] Error 1 gmake[4]: Leaving directory `/PKl01h01/soft/src/mysql-5.0.18/sql' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/PKl01h01/soft/src/mysql-5.0.18/sql' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/PKl01h01/soft/src/mysql-5.0.18/sql' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/PKl01h01/soft/src/mysql-5.0.18' gmake: *** [all] Error 2
[11 Jan 2006 10:36]
Valeriy Kravchuk
Sorry, but I can't really repeat the problem in the environment similar to yours - we have a mix of GCC 3.3.1 and native HP-UX C compiler on our HP-UX 11 machine, so I am getting other errors thaty may be related to our configuration only: Making all in strings gmake[2]: Entering directory `/home/mysqldev/valeriy/mysql-5.0.18/strings' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DDBUG_OFF -fomit-frame-pointer -O3 -fpic -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -MT strxmov.o -MD -MP -MF ". deps/strxmov.Tpo" -c -o strxmov.o strxmov.c; \ then mv -f ".deps/strxmov.Tpo" ".deps/strxmov.Po"; else rm -f ".deps/strxmov.Tpo "; exit 1; fi In file included from /usr/include/sys/user.h:52, from /usr/include/sys/stream.h:53, from ../include/my_global.h:331, from strxmov.c:33: /usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t' In file included from ../include/my_global.h:532, from strxmov.c:33: /usr/include/sys/socket.h:484: error: parse error before "sendfile" /usr/include/sys/socket.h:485: error: parse error before "bsize_t" /usr/include/sys/socket.h:486: error: parse error before "sendpath" /usr/include/sys/socket.h:487: error: parse error before "bsize_t" /usr/include/sys/socket.h:501: error: parse error before "__sendfile64" ... By the way, we do not use gcc for our builds on HP-UX internally, so, can you try to use native HP C compiler? It surely works. You may also try to compile using some hints from http://dev.mysql.com/doc/refman/5.0/en/hp-ux-11-x.html (gcc flags and --disable-shared configure option).
[11 Jan 2006 13:44]
[ name withheld ]
Hello, I'm sorry but I can't use cc or acc on this server. I'm not root on it and I can't have currently another version of gcc or install another C compiler. Result of acc command : ksh: acc: not found Result of aCC command : ksh: aCC: not found use of cc cause some others problems and I can't use it for compilation. So gcc 3.0.1 is my only one solution to compile c code. What can I do in this condition ? PS : The last compilation of mysql with gcc 3.0.1 was ok but the version of mysql was mysql-4.0.4-beta.
[12 Jan 2006 11:42]
Valeriy Kravchuk
Sorry, but, according to our build team, we will not be able to check and fix builds with gcc on HP-UX in the foreseeable future. So, you should either use our binaries or native compiler. I am really sorry about this, and I will inform you if this change.
[13 Jan 2006 14:15]
[ name withheld ]
Hello, Thanks for your answer. I've no problem to use binaries (I've tested, it works fine) but I need shared libraries for php/apache and others products and I didn't find them in the mysql-standard-5.0.18-hpux11.00-hppa2.0w.depot.gz package. Do you know where I can download them ? Thanks
[13 Jan 2006 15:43]
Valeriy Kravchuk
You have to download mysql-max-5.0.18-hpux11.00-hppa2.0w.depot.gz. Looks like there is no .so or .sl files in any standard-5.0.18-hpux*...
[13 Jan 2006 15:48]
Valeriy Kravchuk
Sorry, looks like there are no shared libraries in -max also.
[13 Jan 2006 16:58]
Joerg Bruehe
Sorry, but we currently do not build shared libraries on HP-UX. It is on the TO-DO list, but that contains other items as well :-) If you do not have HP compilers there, and a full build with gcc fails for you, all I can propose for now is to try a gcc build having configured "--without-server".
[16 Jan 2006 9:48]
[ name withheld ]
I've totally new error message in this case. I've put the result with "without-server" in a new bug report : #16528