AnsweredAssumed Answered

Undefined reference to __sqrt_finite building multimedia packages

Question asked by Mathias Parnaudeau on Oct 26, 2015
Latest reply on Nov 2, 2015 by Mathias Parnaudeau

Hi,

 

I use SDK1.7 with T1040RDB. I fail to build pulseaudio package, getting this error:

 

[compilation line...] -lcap -lpthread -lrt -ldl -lm -pthread -Wl,-rpath -Wl,/usr/lib/pulseaudio

./.libs/libpulsecore-5.0.so: undefined reference to `__sqrt_finite'

collect2: error: ld returned 1 exit status

make[3]: *** [close-test] Error 1

make[3]: *** Waiting for unfinished jobs....

 

It is reproducible easily adding this package "pulseaudio" to IMAGE_INSTALL in meta-fsl-minimal.bb.

 

My final goal is to build vlc. I also had this error with package x264 that I disabled but I don't find how to disable pulseaudio, and that's not really what I want.

 

The right fix would be to fix the __sqrt_finite error. I've seen a patch in eglibc 2.19 but it seems it is not used. Just as another patch about initgroups_keys (on nss/getent.c).

 

Maybe it would work using this eglibc version but I don't know how to do.

 

I previously had errors with eglibc 2.15 that is in meta-fsl-toolchain/recipes-devtools/eglibc so I suppose the build system uses it.

 

A clarification (or a procedure to build vlc) would be appreciated.

 

Thanks,

 

Mathias

Outcomes