Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118453 - eggdrop link error while linking static
Summary: eggdrop link error while linking static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 12:55 UTC by blackd
Modified: 2006-10-22 07:14 UTC (History)
0 users

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


Attachments
compile log and other info (eggdrop-compile.txt,47.65 KB, text/plain)
2006-10-04 09:46 UTC, blackd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blackd 2006-01-09 12:55:54 UTC
ebuild: eggdrop-1.6.17-r2.ebuild

The vanilla source do link without problems.



the error message:

---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (static version).

mod/rijndael.o: In function `rijndael_encrypt_pass':
rijndael.c:(.text+0x139): undefined reference to `set_key'
rijndael.c:(.text+0x151): undefined reference to `encrypt'
mod/rijndael.o: In function `encrypt_string':
rijndael.c:(.text+0x325): undefined reference to `set_key'
rijndael.c:(.text+0x36d): undefined reference to `encrypt'
mod/rijndael.o: In function `decrypt_string':
rijndael.c:(.text+0x552): undefined reference to `set_key'
rijndael.c:(.text+0x5cd): undefined reference to `decrypt'
mod/twofish.o: In function `twofish_encrypt_pass':
twofish.c:(.text+0x10c): undefined reference to `makeKey'
twofish.c:(.text+0x128): undefined reference to `cipherInit'
twofish.c:(.text+0x153): undefined reference to `reKey'
twofish.c:(.text+0x17b): undefined reference to `blockEncrypt'
mod/twofish.o: In function `encrypt_string':
twofish.c:(.text+0x31c): undefined reference to `makeKey'
twofish.c:(.text+0x338): undefined reference to `cipherInit'
twofish.c:(.text+0x367): undefined reference to `reKey'
twofish.c:(.text+0x3bf): undefined reference to `blockEncrypt'
mod/twofish.o: In function `decrypt_string':
twofish.c:(.text+0x576): undefined reference to `makeKey'
twofish.c:(.text+0x592): undefined reference to `cipherInit'
twofish.c:(.text+0x5c1): undefined reference to `reKey'
twofish.c:(.text+0x64e): undefined reference to `blockDecrypt'
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make: *** [static] Error 2

!!! ERROR: net-irc/eggdrop-1.6.17-r2 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! emake static failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Christoph Sievers 2006-08-05 08:30:23 UTC
(In reply to comment #0)
> ebuild: eggdrop-1.6.17-r2.ebuild
> 
> The vanilla source do link without problems.
> 
> 
> 
> the error message:
> 
> ---------- Yeah! That's the compiling, now the linking! ----------
> 
> Linking eggdrop (static version).
> 
> mod/rijndael.o: In function `rijndael_encrypt_pass':
> rijndael.c:(.text+0x139): undefined reference to `set_key'
> rijndael.c:(.text+0x151): undefined reference to `encrypt'
> mod/rijndael.o: In function `encrypt_string':
> rijndael.c:(.text+0x325): undefined reference to `set_key'
> rijndael.c:(.text+0x36d): undefined reference to `encrypt'
> mod/rijndael.o: In function `decrypt_string':
> rijndael.c:(.text+0x552): undefined reference to `set_key'
> rijndael.c:(.text+0x5cd): undefined reference to `decrypt'
> mod/twofish.o: In function `twofish_encrypt_pass':
> twofish.c:(.text+0x10c): undefined reference to `makeKey'
> twofish.c:(.text+0x128): undefined reference to `cipherInit'
> twofish.c:(.text+0x153): undefined reference to `reKey'
> twofish.c:(.text+0x17b): undefined reference to `blockEncrypt'
> mod/twofish.o: In function `encrypt_string':
> twofish.c:(.text+0x31c): undefined reference to `makeKey'
> twofish.c:(.text+0x338): undefined reference to `cipherInit'
> twofish.c:(.text+0x367): undefined reference to `reKey'
> twofish.c:(.text+0x3bf): undefined reference to `blockEncrypt'
> mod/twofish.o: In function `decrypt_string':
> twofish.c:(.text+0x576): undefined reference to `makeKey'
> twofish.c:(.text+0x592): undefined reference to `cipherInit'
> twofish.c:(.text+0x5c1): undefined reference to `reKey'
> twofish.c:(.text+0x64e): undefined reference to `blockDecrypt'
> collect2: ld returned 1 exit status
> make[1]: *** [../eggdrop] Error 1
> make: *** [static] Error 2
> 
> !!! ERROR: net-irc/eggdrop-1.6.17-r2 failed.
> !!! Function src_compile, Line 65, Exitcode 2
> !!! emake static failed
> !!! If you need support, post the topmost build error, NOT this status message.
> 

Same Errors with net-irc/eggdrop-1.6.18

by the way maybe Component should be changed to Ebuilds?

Comment 2 endrazine 2006-10-04 08:43:31 UTC
Hi,
I couldn't reproduce this... :

(...)
Operating System: Linux 2.6.18

If you experiance any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.

Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.

Detecting modules................................... done.
Calculating dependencies............................... done.
Building ./src/mod/Makefile... done.


>>> net-irc/eggdrop-1.6.17-r2 merged.



What kernel do you use ? Do you have your kernel sources in /usr/src/linux ?

Regards,

endrazine-
Comment 3 blackd 2006-10-04 09:46:47 UTC
Created attachment 98781 [details]
compile log and other info

This is the compile result i receive now.
But at the time the bug have been posted my arch was x86 not amd64
Comment 4 Sven Wegener gentoo-dev 2006-10-22 07:14:51 UTC
We're now disabling the modules that cause problems when linking a static eggdrop. The modules are encryption modules and only one may be loaded at the same time.