cekpasswd.c compile error on cygwin 1.77

Michael Stellar unexplained at gmail.com
Mon Sep 13 22:12:03 UTC 2010


Merci Julian :),it compile fine now,i just edit into DBM_LIBS and PERL_LIBS
those line,another question,the make is generating executable(.exe) but
strange when using make file,the bin that are generated not in .exe
extension,it's without any extension,i've tried to edit install-sh on
support folder this line : -B) backupsuffix="$2" into -B) backupsuffix="exe"
but still no extension generated,any clues?

regards,


On Mon, Sep 13, 2010 at 11:45 PM, Julien ÉLIE <julien at trigofacile.com>wrote:

> Hi Michael,
>
>
>  I really do need this to run on my windows, for personal use in my
>> network,after 2 days 2 nights struggling compiling gd-2.0.36RC1  and perl
>> GD
>> 2.5.2module in cygwin, 1.77,i stumbled upon this error :
>> -----------------------------------------------------------
>> make[1]: Entering directory `/home/Stellar/inn-STABLE-20100911/authprogs'
>> gcc -g -O2 -I../include  -I/usr/include -c ckpasswd.c
>> gcc -g -O2 -I../include    -c -o libauth.o libauth.c
>> gcc  -o ckpasswd ckpasswd.o -lcrypt    -L/usr/lib -ldb libauth.o
>> /home/Stellar/i
>> nn-STABLE-20100911/lib/libinn.a
>> ckpasswd.o: In function `password_dbm':
>> /home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:165: undefined
>> reference
>> to `_dbm_open'
>> /home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:170: undefined
>> reference
>> to `_dbm_fetch'
>> /home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:177: undefined
>> reference
>> to `_dbm_close'
>> /home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:172: undefined
>> reference
>> to `_dbm_close'
>> collect2: ld returned 1 exit status
>> make[1]: *** [ckpasswd] Error 1
>> make[1]: Leaving directory `/home/Stellar/inn-STABLE-20100911/authprogs'
>> make: *** [all-authprogs] Error 2
>>
>> ---------------------------------------------------------------------------------------------
>>
>
> [...]
>
>  $ perl -V
>> Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
>>
>>   libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
>>
>> dbm do exist in my cygwin....
>>
>
> Did you try the suggestion here:
>
> http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047497.html
>
> http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047517.html
>
> It might help because I see those "-lgdbm -lgdbm_compat" flags in your Perl
> compilation.
>
> Please have a look at the following variables in Makefile.global:
>  CC              = gcc
>  DBM_CPPFLAGS    =
>  DBM_LIBS        =
>
> It is an extract from my own Makefile.global (where I see the last two are
> unset).
>
> Maybe "-lgdbm -lgdbm_compat" should be put in one or several of these lines
> (?)
> And afterwards in PERL_CPPFLAGS (?)
> It is just a suggestion, in case it helps.  (Not tested.)
>
> --
> Julien ÉLIE
>
> « Rien, ce n'est pas rien ! La preuve, c'est que l'on peut le soustraire.
>  Exemple : rien moins rien = moins que rien ! » (Raymond Devos)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/inn-bugs/attachments/20100914/495c51e5/attachment.html>


More information about the inn-bugs mailing list