[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ltdl/mdemo test
From: |
Patrick Welche |
Subject: |
ltdl/mdemo test |
Date: |
Mon, 10 Sep 2001 18:59:01 +0100 |
User-agent: |
Mutt/1.3.19i |
I mumbled about mdemo-exec and friends failing a while back, but hopefully
this will make the problem a bit clearer:
Just adding the following to source of 6 September 14:36 GMT:
Index: ltdl.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/ltdl.c,v
retrieving revision 1.154
diff -u -r1.154 ltdl.c
--- ltdl.c 2001/09/03 00:22:13 1.154
+++ ltdl.c 2001/09/10 17:25:40
@@ -1567,6 +1567,7 @@
while (syms->name)
{
+printf("filename=%s syms->name=%s\n",filename,syms->name);
if (!syms->address && strcmp(syms->name, filename) == 0)
{
module = (lt_module) syms;
gives (after suitable othe mdemo tests were ran)
% gmake VERBOSE=1 TESTS=mdemo-exec.test check
...
=== Running mdemo-exec.test
Executing uninstalled programs in ../mdemo
Welcome to GNU libtool mdemo!
filename=foo1.a syms->name=foo1.a
module name: foo1
module filename: foo1.a
module reference count: 1
** This is foolib 1 **
hello returned: 57616
hello is ok!
cos (0.0) = 1
sub() called
foo1 is ok!
filename=libfoo2.a syms->name=foo1.a
filename=libfoo2.a syms->name=_foo1_helper
filename=libfoo2.a syms->name=foo1_LTX_foo1
filename=libfoo2.a syms->name=foo1_LTX_hello
filename=libfoo2.a syms->name=foo1_LTX_nothing
filename=libfoo2.a syms->name=libsub.a
filename=libfoo2.a syms->name=sub
filename=libfoo2.a syms->name=libfoo2.a
module name: libfoo2
module filename: libfoo2.a
module reference count: 1
** This is foolib 2 **
hello returned: 57616
hello is ok!
sin (0.0) = 0
sub() called
foo2 is ok!
address@hidden@ syms->name=foo1.a
address@hidden@ syms->name=_foo1_helper
address@hidden@ syms->name=foo1_LTX_foo1
address@hidden@ syms->name=foo1_LTX_hello
address@hidden@ syms->name=foo1_LTX_nothing
address@hidden@ syms->name=libsub.a
address@hidden@ syms->name=sub
address@hidden@ syms->name=libfoo2.a
address@hidden@ syms->name=_foo2_helper
address@hidden@ syms->name=libfoo2_LTX_foo2
address@hidden@ syms->name=libfoo2_LTX_hello
address@hidden@ syms->name=libfoo2_LTX_nothing
address@hidden@ syms->name=libsub.a
address@hidden@ syms->name=sub
can't dlopen the program!
error was: file not found
./mdemo-exec.test: execution of ../mdemo/mdemo.static failed
Welcome to GNU libtool mdemo!
can't open the module ../mdemo/foo1.la!
error was: file not found
can't open the module ../mdemo/libfoo2.la!
error was: file not found
can't dlopen the program!
error was: file not found
./mdemo-exec.test: execution of ../mdemo/mdemo failed
FAIL: mdemo-exec.test
===================
1 of 1 tests failed
===================
which I think is from test_dlself() -> lt_dlopen(0) (as opposed to
lt_dlopen(filename) ) -> try_dlopen(&handle,0) -> tryall_dlopen(&newhandle,0)
and so on..
Hope this is clearer,
Cheers,
Patrick
- ltdl/mdemo test,
Patrick Welche <=
- Re: ltdl/mdemo test, Nick Hudson, 2001/09/10
- Re: ltdl/mdemo test, Gary V. Vaughan, 2001/09/11
- Re: ltdl/mdemo test, Patrick Welche, 2001/09/12
- Re: ltdl/mdemo test, Patrick Welche, 2001/09/12
- Re: ltdl/mdemo test, Nick Hudson, 2001/09/12
- Re: ltdl/mdemo test, Gary V. Vaughan, 2001/09/13
- Re: ltdl/mdemo test, Nick Hudson, 2001/09/14
- Re: ltdl/mdemo test, Patrick Welche, 2001/09/14
- Re: ltdl/mdemo test, Patrick Welche, 2001/09/12