AnsweredAssumed Answered

Missing dlfcn.h on Linphone compilation

Question asked by romulocmendes.ufc on Dec 15, 2011
Latest reply on Dec 22, 2011 by uriy

We are trying to enable Linphone application, but there is a compilation error. We are using the latest uClinux kernel version from SVN repository. Here is the compilation messages after a "make single" command:

 


/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:37:19: error: dlfcn.h: No such file or directory
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c: In function 'try_open':
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:82: error: 'RTLD_NOW' undeclared (first use in this function)
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:82: error: (Each undeclared identifier is reported only once
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:82: error: for each function it appears in.)
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c: In function 'try_open_full':
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:129: error: 'RTLD_NOW' undeclared (first use in this function)
/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/alsa-lib-1.0.24/src/mixer/simple_abst.c:129: error: 'RTLD_GLOBAL' undeclared (first use in this function)
make[9]: *** [simple_abst.lo] Error 1
make[9]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/build-alsa-lib-1.0.24/src/mixer'
make[8]: *** [mixer/libmixer.la] Error 2
make[8]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/build-alsa-lib-1.0.24/src'
make[7]: *** [install-recursive] Error 1
make[7]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/build-alsa-lib-1.0.24/src'
make[6]: *** [install-recursive] Error 1
make[6]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib/build-alsa-lib-1.0.24'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib/alsa-lib'
make[4]: *** [alsa-lib] Error 2
make[4]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist/lib'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist'
make[1]: *** [single_] Error 2
make[1]: Leaving directory `/home/romulo/Documents/svnuclinux/uclinux-dist'
make: *** [single] Error 2

 


Please, let us know if you need more information.

 

Thank you very much!

 

Rômulo Mendes

Outcomes