[ARMedslack] Help building poppler

Cédric VINCENT cedric.vincent at gmail.com
Sat Feb 20 08:44:05 UTC 2010


Hi Stuart,

I didn't try to build Poppler yet, however I can see that the QtCore
library in the current ARMedSlack does not provide the same
signature/mangling for the function "qvsnprintf":

    cedric at metalplug:~$ readelf -sW /usr/lib/qt/lib/libQtCore.so |
grep qvsnprintf
      3215: 000adfa0    36 FUNC    GLOBAL DEFAULT   10 _Z10qvsnprintfPcjPKcPv

    cedric at metalplug:~$ c++filt _Z10qvsnprintfPcjPKcPv
    qvsnprintf(char*, unsigned int, char const*, void*)

Either you built libQtCore with a different version of GCC, or maybe
the auto-configuration system of Poppler did not detect the right way
to handle __va_list.

For information, I saw the following warning when compiling another
C++ project (Squid):

    note: the mangling of ‘va_list’ has changed in GCC 4.4

It means the linker will not be able to resolve the reference with the
old signature/mangling anymore (for function that use va_list). As a
conclusion, one has to recompile the library with the same version of
the GCC compiler.

Regards,
Cédric.

On Thu, Feb 18, 2010 at 3:26 PM, Stuart Winter <mozes at slackware.com> wrote:
>
> Hi
>
> Poppler isn't building at the moment and it's stopping me building other
> stuff that links against it.
>
> I haven't tried building this on the public armedslack-current at the
> moment, but hopefully it'll fail there too ;)
>
> The build stuff is here:
>  rsync -Pavv slackware.mirror.zen.co.uk::testing/poppler .
>
> libtool: link: g++ -Wall -Wno-write-strings -Woverloaded-virtual -g -O2 -o
> .libs/test-poppler-qt4 test-poppler-qt4.o
> ../../poppler/.libs/libpoppler.so ../../qt4/src/.libs/libpoppler-qt4.so
> -L/usr//lib /usr//lib/libfontconfig.so -L/usr/lib/qt/lib -lQtGui -lQtXml
> -lQtCore -lz -pthread -Wl,-rpath -Wl,/usr//lib
> ../../qt4/src/.libs/libpoppler-qt4.so: undefined reference to
> `qvsnprintf(char*, unsigned int, char const*, std::__va_list)'
> collect2: ld returned 1 exit status
> distcc[20324] ERROR: compile (null) on localhost failed
>
> Hopefully it will fail like that.
>
> I've tried rebuilding 0.12.2 which is currently in armedslack-current --
> this fails with the same error.
>
> Help fixing that will be much appreciated!
>
> --
> Stuart Winter
> www.slackware.com/~mozes
> Slackware for ARM: www.armedslack.org
> _______________________________________________
> ARMedslack mailing list
> ARMedslack at lists.armedslack.org
> http://lists.armedslack.org/mailman/listinfo/armedslack
>



-- 
Today is a gift, that's why we call it the present.


More information about the ARMedslack mailing list