ibotlog2html for #crosstool-ng

<< Previous 2011-06-06 Next >>

# 00:13:06 jacques quits : Ping timeout: 255 seconds
# 01:39:11 jacques joins #crosstool-ng
# 01:39:11 jacques quits : Changing host
# 01:39:11 jacques joins #crosstool-ng
# 01:44:38 Buglouse quits : Ping timeout: 260 seconds
# 01:48:15 Buglouse joins #crosstool-ng
# 04:54:01 daggs- joins #crosstool-ng
# 05:35:29 daggs- is now known as: daggs1
# 06:39:43 y_morin joins #crosstool-ng
# 07:36:23 daggs1 y_morin: hello
# 07:36:27 daggs1 whats up?
# 07:36:48 y_morin daggs1: hello!
# 07:37:01 daggs1 got a minute, I have a question
# 07:37:04 daggs1 ?
# 07:37:09 y_morin Fire!
# 07:38:10 daggs1 ok, when ct-ng builds the compiler, it needs dl.so which is part of libc right?
# 07:38:38 y_morin daggs1: dl.so or ld.so ?
# 07:38:43 daggs1 sec
# 07:39:05 y_morin ls.so is the dynamic linker.
# 07:39:08 y_morin ld.so...
# 07:39:42 y_morin ls.do is not needed at build time, only at runtime.
# 07:40:24 daggs1 ok, I'll try to rephrase, I have a lib that uses dlopen and dlerror, the compilation of the lib ends ok
# 07:41:04 daggs1 but when I try to use that lib, compilation fails with undefined reference to both of them in the lib
# 07:41:19 daggs1 so I assume that I cannot link it currectly, right?
# 07:41:23 daggs1 I don't even
# 07:41:48 y_morin Are you compiling a static lib?
# 07:42:02 daggs1 I think so
# 07:43:40 y_morin OK, dlopen and co are defined in libdl.so, you need to explictly link against it. Add -ldl to your linker command line
# 07:44:07 y_morin That is because static libraries do not have 'metadata' that state their depdencies.
# 07:44:58 y_morin For shared libs, the depdencies are listed in an ELF section, and are recognisable with the 'NEEDED' flag: readelf -d mylib.so | grep NEEDED
# 07:45:07 daggs1 in the lib or in the product that uses this lib?
# 07:45:57 y_morin The program that uses your lib. Something like: ld -lyourlib -ldl
# 07:46:49 daggs1 sec
# 07:47:28 daggs1 sounds logical, I'll try soon and report
# 08:03:32 daggs1 y_morin: I do add -ldl when I link but it still doesn't work\
# 08:05:57 y_morin daggs1: without more info, I don't know what's going on... :-/
# 08:06:19 daggs1 what I can do to get more info?
# 08:06:38 daggs1 ldd on the file in question will work?
# 08:08:41 y_morin daggs1: can you provide a dump of the link error ?
# 08:09:33 daggs1 y_morin: not sure I follow, can you elaborate?
# 08:10:20 y_morin daggs1: copy-paste the error in the console. Pastebin it (http://pastebin.com/)
# 08:13:32 daggs1 sec
# 09:43:04 Buglouse quits : Ping timeout: 246 seconds
# 14:40:18 y_morin quits : Ping timeout: 252 seconds
# 14:44:45 y_morin joins #crosstool-ng
# 15:29:21 y_morin quits : Quit: Back on-line in a few hours...
# 16:10:24 y_morin joins #crosstool-ng
# 17:16:00 linuxjacques joins #crosstool-ng
# 17:18:02 Buglouse joins #crosstool-ng
# 17:52:55 kos_tom joins #crosstool-ng
# 18:06:48 kos_tom quits : Read error: Connection reset by peer
# 18:07:08 kos_tom joins #crosstool-ng
# 21:20:27 jacques_ joins #crosstool-ng
# 21:20:27 jacques_ quits : Changing host
# 21:20:27 jacques_ joins #crosstool-ng
# 21:21:28 jacques quits : Read error: Operation timed out
# 21:30:26 jacques__ joins #crosstool-ng
# 21:33:30 jacques_ quits : Ping timeout: 244 seconds
# 21:35:52 jacques_ joins #crosstool-ng
# 21:35:52 jacques_ quits : Changing host
# 21:35:52 jacques_ joins #crosstool-ng
# 21:36:05 jacques__ quits : Read error: Operation timed out
# 23:08:17 linuxjacques quits : Quit: Page closed
# 23:08:21 kos_tom quits : Quit: Leaving
# 23:14:16 y_morin quits : Quit: Nite All! ZZZzz... :-)

Generated by ibotlog2html by Yann E. MORIN