AW: building 2.1.12 Debian package: 'lt_dladvise' undeclared
Wegener, Norbert
norbert.wegener at atos.net
Mon Nov 21 17:01:19 CET 2011
Removing
--enable-developer \
in debian/rules solved that problem.
With best regards,
________________________________
Norbert Wegener
Atos IT Solutions and Services
AIS MS NC PSU SDC
Bruchstraße 5
45883 Gelsenkirchen, Germany
Tel.: +49 (209) 94565716
Fax: +49 (201) 8165581284
mailto:norbert.wegener at atos.net
Atos IT Solutions and Services GmbH; Geschäftsführung: Winfried Holz, Christian Oecking, Rainer-Christian Koppitz; Vorsitzender des Aufsichtsrats: Charles Dehelly; Sitz der Gesellschaft: München, Deutschland; Registergericht: München, HRB 184933.
________________________________________
Von: freeradius-users-bounces+norbert.wegener=atos.net at lists.freeradius.org [freeradius-users-bounces+norbert.wegener=atos.net at lists.freeradius.org]" im Auftrag von "Wegener, Norbert [norbert.wegener at atos.net]
Gesendet: Montag, 21. November 2011 14:59
Bis: FreeRadius users mailing list
Betreff: AW: building 2.1.12 Debian package: 'lt_dladvise' undeclared
Unfortunately that has not been the solution.
I grabbed the latest git version,
verified
--without-rlm_sql_unixodbc \
--with-system-libtool \
--with-system-libltdl
but:
/usr/bin/libtool --mode=compile gcc -I/root/git/freeradius-server -I/root/git/freeradius-server/src -g -O2 -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I/root/git/freeradius-server/src -DHOSTINFO=\"arm-unknown-linux-gnueabi\" -DRADIUSD_VERSION=\"2.2.0\" -DOPENSSL_NO_KRB5 -DRADIUSD_MAJOR_VERSION=2 -DRADIUSD_MINOR_VERSION=2.0 -DWITH_SYSTEM_LTDL -c modules.c
libtool: compile: gcc -I/root/git/freeradius-server -I/root/git/freeradius-server/src -g -O2 -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -I/root/git/freeradius-server/src -DHOSTINFO=\"arm-unknown-linux-gnueabi\" -DRADIUSD_VERSION=\"2.2.0\" -DOPENSSL_NO_KRB5 -DRADIUSD_MAJOR_VERSION=2 -DRADIUSD_MINOR_VERSION=2.0 -DWITH_SYSTEM_LTDL -c modules.c -fPIC -DPIC -o .libs/modules.o
modules.c: In function 'fr_dlopenext':
modules.c:216: error: 'lt_dladvise' undeclared (first use in this function)
modules.c:216: error: (Each undeclared identifier is reported only once
modules.c:216: error: for each function it appears in.)
modules.c:216: error: expected ';' before 'advise'
modules.c:218: warning: implicit declaration of function 'lt_dladvise_init'
modules.c:218: warning: nested extern declaration of 'lt_dladvise_init'
modules.c:218: error: 'advise' undeclared (first use in this function)
modules.c:219: warning: implicit declaration of function 'lt_dladvise_ext'
modules.c:219: warning: nested extern declaration of 'lt_dladvise_ext'
modules.c:220: warning: implicit declaration of function 'lt_dladvise_global'
modules.c:220: warning: nested extern declaration of 'lt_dladvise_global'
modules.c:221: warning: implicit declaration of function 'lt_dlopenadvise'
modules.c:221: warning: nested extern declaration of 'lt_dlopenadvise'
modules.c:224: warning: implicit declaration of function 'lt_dladvise_destroy'
modules.c:224: warning: nested extern declaration of 'lt_dladvise_destroy'
modules.c: In function 'setup_modules':
modules.c:1409: warning: nested extern declaration of 'lt_preloaded_symbols'
make[5]: *** [modules.lo] Error 1
make[5]: Leaving directory `/root/git/freeradius-server/src/main'
make[4]: *** [main] Error 2
make[4]: Leaving directory `/root/git/freeradius-server/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/git/freeradius-server/src'
make[2]: *** [src] Error 2
make[2]: Leaving directory `/root/git/freeradius-server'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/git/freeradius-server'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
With best regards,
________________________________
Norbert Wegener
Atos IT Solutions and Services
AIS MS NC PSU SDC
Bruchstraße 5
45883 Gelsenkirchen, Germany
Tel.: +49 (209) 94565716
Fax: +49 (201) 8165581284
mailto:norbert.wegener at atos.net
Atos IT Solutions and Services GmbH; Geschäftsführung: Winfried Holz, Christian Oecking, Rainer-Christian Koppitz; Vorsitzender des Aufsichtsrats: Charles Dehelly; Sitz der Gesellschaft: München, Deutschland; Registergericht: München, HRB 184933.
________________________________________
Von: freeradius-users-bounces+norbert.wegener=atos.net at lists.freeradius.org [freeradius-users-bounces+norbert.wegener=atos.net at lists.freeradius.org]" im Auftrag von "Alan DeKok [aland at deployingradius.com]
Gesendet: Montag, 21. November 2011 13:38
Bis: FreeRadius users mailing list
Betreff: Re: building 2.1.12 Debian package: 'lt_dladvise' undeclared
Wegener, Norbert wrote:
> According to
> http://wiki.freeradius.org/Build#Building+Debian+packages
> a debian package can be compiled from freeradius sources.
> On squeeze it fails. Mabe it has to do with libtool?
> Is there a known workaround?
Arg... the system has lt_dladvise_init(), but not lt_dladvise().
What are the "configure" flags? You may need:
--with-system-libtool \
--with-system-libltdl
The latest git version of debian/rules has this change.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list