3.0 (master) build error
Fajar A. Nugraha
list at fajar.net
Thu Jan 12 06:12:30 CET 2012
On Wed, Jan 11, 2012 at 10:34 PM, Alan DeKok <aland at deployingradius.com> wrote:
>> ./configure --enable-ltdl-install=no --with-system-libtool
>> --with-system-libltdl && make
>> Last few lines of output:
>> modules.c:254:2: warning: implicit declaration of function ‘lt_dladvise_init’
> OK... I've committed a patch which should help. You'll have do re-do
Unfortunately it still failed. Pulled up to 4ea1acf: "Install the
README, too", Still the same error
Making all in src/main...
modules.c: In function ‘fr_dlopenext’:
modules.c:252:2: error: ‘lt_dladvise’ undeclared (first use in this function)
modules.c:252:2: note: each undeclared identifier is reported only
once for each function it appears in
modules.c:252:14: error: expected ‘;’ before ‘advise’
modules.c:254:2: warning: implicit declaration of function ‘lt_dladvise_init’
modules.c:254:26: error: ‘advise’ undeclared (first use in this function)
modules.c:255:6: warning: implicit declaration of function ‘lt_dladvise_ext’
modules.c:256:6: warning: implicit declaration of function ‘lt_dladvise_global’
modules.c:257:3: warning: implicit declaration of function ‘lt_dlopenadvise’
modules.c:260:2: warning: implicit declaration of function ‘lt_dladvise_destroy’
make: *** [modules.lo] Error 1
make: *** [main] Error 2
make: *** [all] Error 2
make: *** [src] Error 2
make: *** [all] Error 2
>>>> - "dpkg-buildpackage -b" failed with "Patch sql_modules.diff does not
>>> The file is in debian/patches.
>> It's not on https://github.com/alandekok/freeradius-server/tree/master/debian/patches
> I've added it. It should be there now. I haven't tested the debian
Yup, it's there now, but still failed to build as well.
Applying patch radiusd-to-freeradius.diff
patching file Make.inc.in
patching file raddb/radiusd.conf.in
Hunk #2 succeeded at 465 (offset 2 lines).
Applying patch sql_modules.diff
patching file raddb/modules/sql
Hunk #1 FAILED at 103.
1 out of 1 hunk FAILED -- rejects in file raddb/modules/sql
patching file raddb/modules/sqlippool
Hunk #1 FAILED at 46.
Hunk #2 FAILED at 63.
2 out of 2 hunks FAILED -- rejects in file raddb/modules/sqlippool
Patch sql_modules.diff does not apply (enforce with -f)
make: *** [debian/stamp-patched] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
This one seems easier to fix. However successful debian build would
still also depend on libltdl problem fixed.
More information about the Freeradius-Devel