Bug 28605 - Can't build due to parseargs.o: undefined reference to symbol 'gatof'
Can't build due to parseargs.o: undefined reference to symbol 'gatof'
Status: RESOLVED FIXED
Product: poppler
Classification: Unclassified
Component: general
unspecified
Other All
: medium normal
Assigned To: poppler-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
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

Note You need to log in before you can comment on or make changes to this bug.
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.