Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110442 - dev-db/mysql-4.1.14 failed on static
Summary: dev-db/mysql-4.1.14 failed on static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 07:58 UTC by toto
Modified: 2005-10-25 10:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description toto 2005-10-25 07:58:32 UTC
dev-db/mysql-4.1.14  +berkdb -big-tables -cluster -debug -doc -extraengine 
-geometry -minimal +perl +readline (-selinux) -ssl* +static* +tcpd -utf8 
When compile have error: 
i686-pc-linux-gnu-ar cru libnisam.a open.o extra.o info.o rkey.o rnext.o 
_search.o _page.o _key.o _locking.o rrnd.o _cache.o _statrec.o _packrec.o 
_dynrec.o update.o write.o delete.o rprev.o rfirst.o rlast.o rsame.o 
rsamepos.o panic.o close.o create.o range.o _dbug.o log.o changed.o static.o 
i686-pc-linux-gnu-ranlib libnisam.a 
/bin/sh ../libtool --preserve-dup-deps --mode=link i686-pc-linux-gnu-gcc  -O3 
-DDBUG_OFF -mcpu=athlon-xp -O2 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o 
isamchk  isamchk.o sort.o -all-static 
libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a 
-lpthread -lcrypt -lnsl -lm  -lpthread 
/bin/sh ../libtool --preserve-dup-deps --mode=link i686-pc-linux-gnu-gcc  -O3 
-DDBUG_OFF -mcpu=athlon-xp -O2 -pipe -DHAVE_ERRNO_AS_DEFINE=1    -rdynamic  -o 
isamlog  isamlog.o -all-static 
libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a 
-lpthread -lcrypt -lnsl -lm  -lpthread 
mkdir .libs 
i686-pc-linux-gnu-gcc -O3 -DDBUG_OFF -mcpu=athlon-xp -O2 -pipe 
-DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o isamchk isamchk.o sort.o -static  
libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a 
-lpthread -lcrypt -lnsl -lm -lpthread 
i686-pc-linux-gnu-gcc -O3 -DDBUG_OFF -mcpu=athlon-xp -O2 -pipe 
-DHAVE_ERRNO_AS_DEFINE=1 -rdynamic -o isamlog isamlog.o -static  
libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a 
-lpthread -lcrypt -lnsl -lm -lpthread 
../mysys/libmysys.a(my_tempnam.o)(.text+0x44): In function `my_tempnam': 
: warning: the use of `tempnam' is dangerous, better use `mkstemp' 
../mysys/libmysys.a(mf_pack.o)(.text+0x7fe): In function `expand_tilde': 
: warning: Using 'getpwnam' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking 
../mysys/libmysys.a(mf_pack.o)(.text+0x807): In function `expand_tilde': 
: warning: Using 'endpwent' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking 
../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create': 
: undefined reference to `operator new(unsigned)' 
../mysys/libmysys.a(raid.o)(.text+0x121): In function `my_raid_create': 
: undefined reference to `operator delete(void*)' 
../mysys/libmysys.a(raid.o)(.text+0x175): In function `my_raid_open': 
: undefined reference to `operator new(unsigned)' 
../mysys/libmysys.a(raid.o)(.text+0x1fa): In function `my_raid_open': 
: undefined reference to `operator delete(void*)' 
../mysys/libmysys.a(raid.o)(.text+0x6c5): In function `my_raid_close': 
: undefined reference to `operator delete(void*)' 
collect2: ld returned 1 exit status 
make[2]: ../mysys/libmysys.a(mf_pack.o)(.text+0x7fe): In function 
`expand_tilde': 
: warning: Using 'getpwnam' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking 
../mysys/libmysys.a(mf_pack.o)(.text+0x807): In function `expand_tilde': 
: warning: Using 'endpwent' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking 
../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create': 
: undefined reference to `operator new(unsigned)' 
../mysys/libmysys.a(raid.o)(.text+0x121): In function `my_raid_create': 
: undefined reference to `operator delete(void*)' 
../mysys/libmysys.a(raid.o)(.text+0x175): In function `my_raid_open': 
: undefined reference to `operator new(unsigned)' 
../mysys/libmysys.a(raid.o)(.text+0x1fa): In function `my_raid_open': 
: undefined reference to `operator delete(void*)' 
../mysys/libmysys.a(raid.o)(.text+0x6c5): In function `my_raid_close': 
: undefined reference to `operator delete(void*)' 
collect2: ld returned 1 exit status 
*** [isamchk] Ошибка 1 
make[2]: *** Ожидание завершения заданий... 
make[2]: *** [isamlog] Ошибка 1 
make[2]: Leaving directory `/var/tmp/portage/mysql-4.1.14/work/mysql/isam' 
make[1]: *** [all-recursive] Ошибка 1 
make[1]: Leaving directory `/var/tmp/portage/mysql-4.1.14/work/mysql' 
make: *** [all] Ошибка 2 
 
!!! ERROR: dev-db/mysql-4.1.14 failed. 
!!! Function src_compile, Line 343, Exitcode 2 
!!! compile problem 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-10-25 10:40:00 UTC
Already solved on 4.1.15, I've never encountered this on 4.1.14 ...
will backport the fix.
please emerge --sync again in one hour