Hi,

Selon [EMAIL PROTECTED]:

> Package: stlport5.1
> Version: 5.0.99rc2-4
> Severity: serious
>
> architectures are allowed to have specific standard libraries, and
> linking without them is fatal.
>
> There was an error while trying to autobuild your package:
>
> > Automatic build of stlport5.1_5.0.99rc2-4 on bld-3 by sbuild/hppa 85
> > Build started at 20060921-1545
>
> [...]
>
> > ** Using build dependencies supplied by package:
> > Build-Depends: cdbs, debhelper (>= 4.1.0), dpkg-dev (>= 1.13.19), quilt
>
> [...]
>
> > ../../../stlport/stl/_hashtable.h:634: undefined reference to `$$remU'
> > ../../../stlport/stl/_hashtable.h:634: undefined reference to `$$remU'
> > ../../../stlport/stl/_hashtable.h:634: undefined reference to `$$remU'
> > obj/gcc/so/unordered_test.o:../../../stlport/stl/_hashtable.h:634: more
> undefined references to `$$remU' follow
> > obj/gcc/so/unordered_test.o: In function `UnorderedTest::myRun(char const*,
> bool)':
> > ../../../test/unit/unordered_test.cpp:26: undefined reference to
> `$$dyncall'
> > ../../../test/unit/unordered_test.cpp:26: undefined reference to
> `$$dyncall'
> > ../../../test/unit/unordered_test.cpp:26: undefined reference to
> `$$dyncall'
> > ../../../test/unit/unordered_test.cpp:27: undefined reference to
> `$$dyncall'
> > ../../../test/unit/unordered_test.cpp:27: undefined reference to
> `$$dyncall'
> > obj/gcc/so/unordered_test.o:../../../test/unit/unordered_test.cpp:27: more
> undefined references to `$$dyncall' follow
> > collect2: ld returned 1 exit status
> > make[1]: *** [obj/gcc/so/stl_unit_test] Error 1
> > make[1]: Leaving directory
> `/build/buildd/stlport5.1-5.0.99rc2/build/test/unit'
> > make: *** [common-binary-post-install-arch] Error 2

The very same error used to happen for stlport5.  The fix was to add
-lgcc to link the static library that contains those symbols on hppa.
As stlport5 provides a STL replacement it is linked with -nostdlib.

I'll have a look at this tonight, if Twerner has not already fixed
it by then.

Thanks,

Thomas

Reply via email to