On 5/8/07, Jacob Meuser <[EMAIL PROTECTED]> wrote:

easy answer: just remove -Wl,-z,defs from the link command.  surely
whatever is using this module is linked against libc, right?

Right, it works. Thanks for the hint.

Now I am hitting another problem which seems much more serious:
missing implementation for std::char_traits<unsigned short>.  I guess
it is due to the current version of gcc/stdc++ being too old...


long asnwer: libtool does indeed remove -lc.  from /usr/local/bin/libtool:

      -l*)
        if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
          case $host in

          ...

          *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
            # Do not include libc due to us having libc/libc_r.
            test "X$arg" = "X-lc" && continue
            ;;


but maybe this is no longer necessary?

I could not say, really.


Eric.

Reply via email to