Summary: | net-analyzer/nagircbot fails because of underlinking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Tobias Scherbaum (RETIRED) <dertobi123> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | netmon |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2011-06-03 12:25:01 UTC
The exact failure is: cc -Wall -W ssl.o error.o log.o utils.o br.o pl.o anna.o -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -g -D_DEBUG -lssl -lstdc++ -o nagircbot ssl.c:14: error: undefined reference to 'BIO_new_socket' This symbol is provided by libcrypto.so, which is not requested by the link line above. Linking with GNU binutils ld happens to work since libssl.so, which is requested, in turn requests libcrypto.so. Probable fix: add -lcrypto after the other libraries. Fixed in 0.0.33. |