[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error messages

From: Gabriel de Perthuis
Subject: Error messages
Date: Wed, 14 Jul 2004 17:24:35 +0200
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

When libtool encouters an error about a missing library (for example, if a .la refers to a file which is not found), it would be good to give more explicit errors. In my case, it was a problem of nested dependencies; the error was not due to $lib (the dependency of the dependency) but too $name (the dependency) which had been compiled when $lib was in another directory; so the solution was to rebuild $name not $lib.
Here is a patch giving a message with $name and $laname:
--- /usr/bin/libtool    2004-02-11 10:35:02.000000000 +0100
+++ libtool     2004-07-14 17:18:53.992827152 +0200
@@ -1838,6 +1838,7 @@
       if test "$found" = yes || test -f "$lib"; then :
         $echo "$modename: cannot find the library \`$lib'" 1>&2
+ $echo "It was referenced from library \`$name' 's libtool archive, \`$laname'" 1>&2
         exit 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]