cekpasswd.c compile error on cygwin 1.77

Michael Stellar unexplained at gmail.com
Mon Sep 13 09:23:37 UTC 2010


Hello,

    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
---------------------------------------------------------------------------------------------




for information
GCC version :
-------------------------------------------
Using built-in specs.
Target: i686-pc-cygwin
Configured with:
/gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4/c
onfigure
--srcdir=/gnu/gcc/releases/respins/4.3.4-3a/gcc4-4.3.4-3/src/gcc-4.3.4
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexec
dir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc
--infod
ir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share
--infodir=/usr/s
hare/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr
--enable-b
ootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin
--libexe
cdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc
--disable-_
_cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2
--disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers
--enabl
e-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
--enable-libada -
-enable-threads=posix --with-arch=i686 --with-tune=generic
--enable-libgcj-subli
bs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4
GNATMAKE_FOR_TARG
ET=gnatmake GNATBIND_FOR_TARGET=gnatbind
--with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
-----------------------------------------

Perl :
-----------------------------------------
$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:

  Platform:
    osname=cygwin, osvers=1.7.0(0.21853),
archname=i686-cygwin-thread-multi-64in
t
    uname='cygwin_nt-5.1 reini 1.7.0(0.21853) 2009-12-04 17:08 i686 cygwin '
    config_args='-de -Dlibperl=cygperl5_10.dll -Dmksymlinks -Dusethreads
-Doptim
ize=-O3'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-ali
asing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing
-pip
e -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.3.4 20090804 (release) 1', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lsee
ksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols
-Wl,-
-stack,8388608 -Wl,--enable-auto-image-base -fstack-protector
-L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
    perllibs=-ldl -lcrypt
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_10.dll
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' --shared  -Wl,--enable-auto-import
-Wl,--export-
all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
-L/usr/local/lib -f
stack-protector'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_USE_SAFE_PUTENV
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
        CYG11 no-bs
        CYG12 no archlib in otherlibdirs
        CYG14 Dynaloader
        CYG15 static-Win32CORE
        CYG17 utf8-paths
        CYG21 LibList-Kid.patch
        CYG22 cygwin-1.7 hints
        CYG23 544-stat
        CYG24 build man pages
        CYG26 Cwd for svk
        Bug#55162 File::Spec::case_tolerant performance
        disable ExtUtils::MakeMaker::Coverage in Sys-Syslog
  Built under cygwin
  Compiled at Dec 18 2009 14:54:24
  %ENV:
    CYGWIN=""
  @INC:
    /usr/lib/perl5/5.10/i686-cygwin
    /usr/lib/perl5/5.10
    /usr/lib/perl5/site_perl/5.10/i686-cygwin
    /usr/lib/perl5/site_perl/5.10
    /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
    /usr/lib/perl5/vendor_perl/5.10
    /usr/lib/perl5/vendor_perl/5.10
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8
  -------------------------------------------------------

Python 2.6.5 (r265:79063, Jun 12 2010, 17:07:01)

my configure : ./configure --with-perl --with-python --with-berkeleydb
--with-zlib --with-openssl --with-sasl --enable-largefiles --enable-ipv6

BerkeleyDB 4.8.30

dbm do exist in my cygwin....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/inn-bugs/attachments/20100913/726d767c/attachment.html>


More information about the inn-bugs mailing list