You are not logged in.

#1 2011-12-10 16:21:43

doklobo
Member
Registered: 2011-12-10
Posts: 1

Problem building gimp-resynthesizer.

I tried to build the package using makepkg and got the following error:


gcc  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall  -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o resynthesizer resynthesizer.o -pthread -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   
/usr/bin/ld: resynthesizer.o: undefined reference to symbol 'atan2@@GLIBC_2.2.5'
/usr/bin/ld: note: 'atan2@@GLIBC_2.2.5' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [resynthesizer] Error 1
make[2]: Leaving directory `/home/ewl/Desktop/resynth/src/resynthesizer-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ewl/Desktop/resynth/src/resynthesizer-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

It does recommend adding, I assume, /lib/libm.so.6 to the linker command line, but I'm not sure how to do that. I'd appreciate any help.

I'm using the x86_64 version of Arch on an Acer Aspire 7741z laptop. Everything else seems to be working fine, and I have compiled other packages without any problems.

Offline

#2 2011-12-10 16:32:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem building gimp-resynthesizer.

You can post about this problem to the AUR page of that package.

Offline

#3 2011-12-11 08:59:33

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem building gimp-resynthesizer.

try adding LIBS+="-lm" in front of the configure line.

Offline

Board footer

Powered by FluxBB