Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
Re: [opensuse-buildservice] undefined symbols in readline for 11.2?
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Tue, 17 Nov 2009 11:42:11 +0100
  • Message-id: <20091117104210.GB8271@xxxxxxx>
On Tue, Nov 17, 2009 at 11:26:20AM +0100, Detlef Steuer wrote:
Hi!

My project
home:dsteuer/PSPP
behaves strangely for 11.2. (other releases working fine with the same
spec-file)

I can build pspp locally with
rpmbuild -ba pspp.spec with exactly the same sources as in the OBS.

But if I try to use the BuildService, locally with
osc build openSUSE_11.2 i586 pspp.spec

or remote (via web client) compilation fails with:

libtool: link: gcc -std=gnu99 -Wall -W -Wwrite-strings -Wstrict-prototypes
-Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -fomit-frame-pointer
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -fgnu89-inline
-Wdeclaration-after-statement -o src/ui/terminal/pspp /usr/lib/libreadline.so
src/ui/terminal/libui.a src/language/liblanguage.a
src/output/charts/libcharts.a src/output/liboutput.a src/math/libpspp_math.a
src/ui/libuicommon.a lib/linreg/liblinreg.a src/data/libdata.a
src/libpspp/libpspp.a /usr/lib/libxml2.s

Since 11.2 uses default --as-needed for linking, the order of libraries is
important.

-lreadline should be farther to the right side.

As temporary workaround you can add
export SUSE_ASNEEDED=0

to the begin of the %build section.

Ciao, Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References