Bug 28605 - Can't build due to parseargs.o: undefined reference to symbol 'gatof'
Summary: Can't build due to parseargs.o: undefined reference to symbol 'gatof'
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 14:32 UTC by Tobias Mueller
Modified: 2010-06-18 15:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tobias Mueller 2010-06-18 14:32:46 UTC
[jhbuild] muelli@bigbox ~/svn/gnome2/poppler-0.14.0/cpp/tests $ make V=99
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -Wall -Wno-write-strings -Woverloaded-virtual -Wnon-virtual-dtor -ansi -g3 -pipe -O2  -L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o poppler-dump parseargs.o poppler-dump.o ../../cpp/libpoppler-cpp.la 
libtool: link: g++ -Wall -Wno-write-strings -Woverloaded-virtual -Wnon-virtual-dtor -ansi -g3 -pipe -O2 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o .libs/poppler-dump parseargs.o poppler-dump.o  -L/opt/gnome2/lib64 ../../cpp/.libs/libpoppler-cpp.so -pthread -Wl,-rpath -Wl,/opt/gnome2/lib64
/usr/bin/ld: parseargs.o: undefined reference to symbol 'gatof'
/usr/bin/ld: note: 'gatof' is defined in DSO /home/muelli/svn/gnome2/poppler-0.14.0/poppler/.libs/libpoppler.so.6 so try adding it to the linker command line
/home/muelli/svn/gnome2/poppler-0.14.0/poppler/.libs/libpoppler.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [poppler-dump] Error 1
[jhbuild] muelli@bigbox ~/svn/gnome2/poppler-0.14.0/cpp/tests $ 

Might be an issue identified by --as-needed as LDFLAG.
Comment 1 Pino Toscano 2010-06-18 15:03:50 UTC
> Might be an issue identified by --as-needed as LDFLAG.

Not really.

Anyway, fixed for poppler 0.14.1, thanks for the report.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.