mainSpamAssassin Milter Plugin - Support: sr #102073, configure : libmilter not found

 
 

sr #102073: configure : libmilter not found

Submitter:  None
Submitted:  Tue 22 Apr 2003 09:59:20 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  dnelson
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Mar 2004 07:36:23 PM UTC, comment #4: 

ranlib -a /path/to/libmilter.a

Anonymous
Wed 23 Apr 2003 02:41:22 PM UTC, comment #3: 


What versions of sendmail and named/bind are installed on
that system?  There are two issues that are causing you trouble.

Your __inet_ntoa problem is probably because you installed
BIND 8.0 at some point, and its include files in
/usr/local/include are covering up some system includes.
Try running "LDFLAGS=-lbind ./configure" to force configure
to link with libbind.  Bind 8.1.1 and higher put their
includes in a different location so they don't have this
problem.

Old versions of sendmail required both libmilter and
libsmutil, where libsmutil would provide functions like
strlcpy that libmilter needed.  Your sendmail looks like
it's one of these, but for some reason libsmutil is not
providing strlcpy.  I'm not sure how to fix this.  Upgrading
to a newer sendmail (8.12.9 is the latest) is probably the
best solution; 8.12.7 has a milter crash fix for Solaris.

Dan Nelson <dnelson>
Group administrator
Wed 23 Apr 2003 08:21:43 AM UTC, comment #2: 


Have the whole config.log !
May be some other libs are necessary ...

Thanks a lot again ..

Yiannis




This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a
mistake.

It was created by spamass-milter configure 0.1.3a, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = nikias
uname -m = sun4u
uname -r = 5.6
uname -s = SunOS
uname -v = Generic_105181-25

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = nikias
Release = 5.6
KernelID = Generic_105181-25
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: .
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/contrib/bin
PATH: /usr/openwin/bin
PATH: /usr/dt/bin
PATH: /etc
PATH: /usr/local/teTeX/bin
PATH: /usr/ucb
PATH: /usr/etc
PATH: /public/local/bin
PATH: /opt/hpnpl/bin
PATH: /opt/hpnp/admin
PATH: /usr/xpg4/bin
PATH: /usr/ccs/bin
PATH: /public/office52/program
PATH: /opt/local/ActiveTcl/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1264: checking for a BSD-compatible install
configure:1318: result: ./install-sh -c
configure:1329: checking whether build environment is sane
configure:1372: result: yes
configure:1406: checking for gawk
configure:1435: result: no
configure:1406: checking for mawk
configure:1435: result: no
configure:1406: checking for nawk
configure:1422: found /bin/nawk
configure:1432: result: nawk
configure:1442: checking whether make sets ${MAKE}
configure:1462: result: yes
configure:1618: checking for g++
configure:1634: found /usr/local/bin/g++
configure:1644: result: g++
configure:1660: checking for C++ compiler version
configure:1663: g++ --version </dev/null >&5
3.0.3
configure:1666: $? = 0
configure:1668: g++ -v </dev/null >&5
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld : (reconfigured) ../configure
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 3.0.3
configure:1671: $? = 0
configure:1673: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:1676: $? = 1
configure:1702: checking for C++ compiler default output
configure:1705: g++    conftest.cc  >&5
ld: warning: global symbol `_DYNAMIC' has non-global
binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
ld: warning: global symbol `_PROCEDURE_LINKAGE_TABLE_' has
non-global binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has
non-global binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
configure:1708: $? = 0
configure:1741: result: a.out
configure:1746: checking whether the C++ compiler works
configure:1752: ./a.out
configure:1755: $? = 0
configure:1770: result: yes
configure:1777: checking whether we are cross compiling
configure:1779: result: no
configure:1782: checking for suffix of executables
configure:1784: g++ -o conftest    conftest.cc  >&5
ld: warning: global symbol `_DYNAMIC' has non-global
binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
ld: warning: global symbol `_PROCEDURE_LINKAGE_TABLE_' has
non-global binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has
non-global binding:
(file
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/../../../l
ibgcc_s.so value=LOCL);
configure:1787: $? = 0
configure:1809: result:
configure:1815: checking for suffix of object files
configure:1839: g++ -c   conftest.cc >&5
configure:1842: $? = 0
configure:1861: result: o
configure:1865: checking whether we are using the GNU C++
compiler
configure:1892: g++ -c   conftest.cc >&5
configure:1895: $? = 0
configure:1898: test -s conftest.o
configure:1901: $? = 0
configure:1913: result: yes
configure:1919: checking whether g++ accepts -g
configure:1943: g++ -c -g  conftest.cc >&5
configure:1946: $? = 0
configure:1949: test -s conftest.o
configure:1952: $? = 0
configure:1962: result: yes
configure:2008: g++ -c -g -O2  conftest.cc >&5
configure:2011: $? = 0
configure:2014: test -s conftest.o
configure:2017: $? = 0
configure:2045: g++ -c -g -O2  conftest.cc >&5
configure: In function `int main()':
configure:2037: `exit' undeclared (first use this function)
configure:2037: (Each undeclared identifier is reported only
once for each
   function it appears in.)
configure:2048: $? = 1
configure: failed program was:
#line 2026 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
exit (42);
  ;
  return 0;
}
configure:2008: g++ -c -g -O2  conftest.cc >&5
configure:2011: $? = 0
configure:2014: test -s conftest.o
configure:2017: $? = 0
configure:2045: g++ -c -g -O2  conftest.cc >&5
configure:2048: $? = 0
configure:2051: test -s conftest.o
configure:2054: $? = 0
configure:2084: checking for style of include used by make
configure:2112: result: GNU
configure:2119: checking dependency style of g++
configure:2181: result: none
configure:2232: checking for gcc
configure:2248: found /usr/local/bin/gcc
configure:2258: result: gcc
configure:2502: checking for C compiler version
configure:2505: gcc --version </dev/null >&5
3.0.3
configure:2508: $? = 0
configure:2510: gcc -v </dev/null >&5
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld : (reconfigured) ../configure
--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 3.0.3
configure:2513: $? = 0
configure:2515: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2518: $? = 1
configure:2521: checking whether we are using the GNU C
compiler
configure:2548: gcc -c   conftest.c >&5
configure:2551: $? = 0
configure:2554: test -s conftest.o
configure:2557: $? = 0
configure:2569: result: yes
configure:2575: checking whether gcc accepts -g
configure:2599: gcc -c -g  conftest.c >&5
configure:2602: $? = 0
configure:2605: test -s conftest.o
configure:2608: $? = 0
configure:2618: result: yes
configure:2645: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2648: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2760: checking dependency style of gcc
configure:2822: result: none
configure:2833: checking for spamc
configure:2851: found /usr/local/bin/spamc
configure:2863: result: /usr/local/bin/spamc
configure:2892: checking build system type
configure:2910: result: sparc-sun-solaris2.6
configure:2918: checking host system type
configure:2932: result: sparc-sun-solaris2.6
configure:3074: checking whether pthreads work with -pthread
configure:3121: gcc -o conftest -g -O2 -pthread   conftest.c
  >&5
gcc: unrecognized option `-pthread'
Undefined first referenced
 symbol      in file
_getfp                              /var/tmp/ccxJZ2mT.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:3124: $? = 1
configure: failed program was:
#line 3100 "configure"
#include "confdefs.h"
#include <pthread.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
pthread_t th; pthread_join(th, 0);
                     pthread_attr_init(0);
pthread_cleanup_push(0, 0);
                     pthread_create(0,0,0,0);
pthread_cleanup_pop(0);
  ;
  return 0;
}
configure:3142: result: no
configure:3074: checking whether pthreads work with
-pthreads
configure:3121: gcc -o conftest -g -O2 -pthreads  
conftest.c   >&5
configure:3124: $? = 0
configure:3127: test -s conftest
configure:3130: $? = 0
configure:3142: result: yes
configure:3162: checking for joinable pthread attribute
configure:3183: gcc -o conftest -g -O2 -pthreads  
conftest.c   >&5
configure:3186: $? = 0
configure:3189: test -s conftest
configure:3192: $? = 0
configure:3247: result: PTHREAD_CREATE_JOINABLE
configure:3254: checking if more special flags are required
for pthreads
configure:3261: result: -D_REENTRANT
configure:3273: checking for cc_r
configure:3300: result: gcc
configure:3341: checking for gcc option to accept ANSI C
configure:3404: gcc  -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3407: $? = 0
configure:3410: test -s conftest.o
configure:3413: $? = 0
configure:3430: result: none needed
configure:3438: checking for an ANSI C-conforming const
configure:3508: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3511: $? = 0
configure:3514: test -s conftest.o
configure:3517: $? = 0
configure:3527: result: yes
configure:3542: checking how to run the C preprocessor
configure:3568: gcc -E  conftest.c
configure:3574: $? = 0
configure:3601: gcc -E  conftest.c
configure:3597:28: ac_nonexistent.h: No such file or
directory
configure:3607: $? = 1
configure: failed program was:
#line 3596 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3644: result: gcc -E
configure:3659: gcc -E  conftest.c
configure:3665: $? = 0
configure:3692: gcc -E  conftest.c
configure:3688:28: ac_nonexistent.h: No such file or
directory
configure:3698: $? = 1
configure: failed program was:
#line 3687 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3738: checking for ANSI C header files
configure:3752: gcc -E  conftest.c
configure:3758: $? = 0
configure:3845: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c   >&5
configure:3848: $? = 0
configure:3850: ./conftest
configure:3853: $? = 0
configure:3867: result: yes
configure:3891: checking for sys/types.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for sys/stat.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for stdlib.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for string.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for memory.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for strings.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for inttypes.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3891: checking for stdint.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3932:20: stdint.h: No such file or directory
configure:3907: $? = 1
configure: failed program was:
#line 3896 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:3923: result: no
configure:3891: checking for unistd.h
configure:3904: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3907: $? = 0
configure:3910: test -s conftest.o
configure:3913: $? = 0
configure:3923: result: yes
configure:3935: checking for pid_t
configure:3962: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:3965: $? = 0
configure:3968: test -s conftest.o
configure:3971: $? = 0
configure:3981: result: yes
configure:3993: checking for size_t
configure:4020: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure:4023: $? = 0
configure:4026: test -s conftest.o
configure:4029: $? = 0
configure:4039: result: yes
configure:4053: checking if we must define _GNU_SOURCE
configure:4081: gcc -c -g -O2 -D_REENTRANT -pthreads 
conftest.c >&5
configure: In function `main':
configure:4072: `make' undeclared (first use in this
function)
configure:4072: (Each undeclared identifier is reported only
once
configure:4072: for each function it appears in.)
configure:4072: parse error before "an"
configure:4084: $? = 1
configure: failed program was:
#line 4059 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

#ifndef _XOPEN_SOURCE
make an error
#endif
  ;
  return 0;
}
configure:4120: gcc -c -g -O2 -D_REENTRANT -pthreads 
-D_GNU_SOURCE conftest.c >&5
configure:4123: $? = 0
configure:4126: test -s conftest.o
configure:4129: $? = 0
configure:4144: result: no
configure:4156: checking for vsyslog
configure:4199: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c   >&5
configure:4202: $? = 0
configure:4205: test -s conftest
configure:4208: $? = 0
configure:4218: result: yes
configure:4156: checking for vasprintf
configure:4199: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c   >&5
Undefined first referenced
 symbol      in file
vasprintf                           /var/tmp/ccqxQTwY.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4202: $? = 1
configure: failed program was:
#line 4161 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few
prototypes,
    which can conflict with char vasprintf (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char vasprintf ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it
implements
    to always fail with ENOSYS.  Some functions are actually
named
    something starting with __ and the normal name is an
alias.  */
#if defined (__stub_vasprintf) || defined
(__stub___vasprintf)
choke me
#else
f = vasprintf;
#endif

  ;
  return 0;
}
configure:4218: result: no
configure:4156: checking for vsnprintf
configure:4199: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c   >&5
configure:4202: $? = 0
configure:4205: test -s conftest
configure:4208: $? = 0
configure:4218: result: yes
configure:4228: checking for library containing
gethostbyname
configure:4261: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c   >&5
Undefined first referenced
 symbol      in file
gethostbyname                       /var/tmp/cc2MZS5H.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4264: $? = 1
configure: failed program was:
#line 4235 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char gethostbyname ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
gethostbyname ();
  ;
  return 0;
}
configure:4307: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lnsl    >&5
configure:4310: $? = 0
configure:4313: test -s conftest
configure:4316: $? = 0
configure:4329: result: -lnsl
configure:4336: checking for library containing connect
configure:4369: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lnsl   >&5
Undefined first referenced
 symbol      in file
connect                             /var/tmp/ccOJyPzo.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4372: $? = 1
configure: failed program was:
#line 4343 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char connect ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
connect ();
  ;
  return 0;
}
configure:4415: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lsocket  -lnsl   >&5
configure:4418: $? = 0
configure:4421: test -s conftest
configure:4424: $? = 0
configure:4437: result: -lsocket
configure:4444: checking for library containing inet_aton
configure:4477: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lsocket -lnsl   >&5
Undefined first referenced
 symbol      in file
inet_aton                           /var/tmp/ccDXCKbg.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4480: $? = 1
configure: failed program was:
#line 4451 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char inet_aton ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
inet_aton ();
  ;
  return 0;
}
configure:4523: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lresolv  -lsocket -lnsl   >&5
configure:4526: $? = 0
configure:4529: test -s conftest
configure:4532: $? = 0
configure:4545: result: -lresolv
configure:4558: checking for mi_stop in -lmilter
configure:4591: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lmilter  -lresolv -lsocket -lnsl  

>&5

Undefined first referenced
 symbol      in file
__inet_aton                        
/usr/lib/libmilter.a(engine.o)
__inet_addr                        
/usr/lib/libmilter.a(listener.o)
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4594: $? = 1
configure: failed program was:
#line 4565 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char mi_stop ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
mi_stop ();
  ;
  return 0;
}
configure:4611: result: no
configure:4623: checking for library containing strlcpy
configure:4656: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lresolv -lsocket -lnsl   >&5
Undefined first referenced
 symbol      in file
strlcpy                             /var/tmp/ccQ2ltwq.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4659: $? = 1
configure: failed program was:
#line 4630 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char strlcpy ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
strlcpy ();
  ;
  return 0;
}
configure:4702: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lsm  -lresolv -lsocket -lnsl   >&5
Undefined first referenced
 symbol      in file
strlcpy                             /var/tmp/cc7Ntatt.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4705: $? = 1
configure: failed program was:
#line 4676 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char strlcpy ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
strlcpy ();
  ;
  return 0;
}
configure:4702: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lsmutil  -lresolv -lsocket -lnsl  

>&5

Undefined first referenced
 symbol      in file
strlcpy                             /var/tmp/ccwAhHd6.o
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4705: $? = 1
configure: failed program was:
#line 4676 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char strlcpy ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
strlcpy ();
  ;
  return 0;
}
configure:4724: result: no
configure:4733: checking for mi_stop in -lmilter
configure:4766: gcc -o conftest -g -O2 -D_REENTRANT
-pthreads   conftest.c -lmilter  -lresolv -lsocket -lnsl  

>&5

Undefined first referenced
 symbol      in file
__inet_aton                        
/usr/lib/libmilter.a(engine.o)
__inet_addr                        
/usr/lib/libmilter.a(listener.o)
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status
configure:4769: $? = 1
configure: failed program was:
#line 4740 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. 
*/
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a
gcc2
   builtin and then its argument prototype would still
apply.  */
char mi_stop ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
mi_stop ();
  ;
  return 0;
}
configure:4786: result: no
configure:4797: error: Cannot find libmilter

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=sparc-sun-solaris2.6
ac_cv_build_alias=sparc-sun-solaris2.6
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_exeext=''
ac_cv_func_vasprintf=no
ac_cv_func_vsnprintf=yes
ac_cv_func_vsyslog=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=sparc-sun-solaris2.6
ac_cv_host_alias=sparc-sun-solaris2.6
ac_cv_lib_milter_mi_stop=no
ac_cv_objext=o
ac_cv_path_SPAMC=/usr/local/bin/spamc
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_PTHREAD_CC=gcc
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=''
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_connect=-lsocket
ac_cv_search_gethostbyname=-lnsl
ac_cv_search_inet_aton=-lresolv
ac_cv_search_strlcpy=no
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none
cf_cv_gnu_source=no

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "spamass-milter"
#define PACKAGE_TARNAME "spamass-milter"
#define PACKAGE_VERSION "0.1.3a"
#define PACKAGE_STRING "spamass-milter 0.1.3a"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "spamass-milter"
#define VERSION "0.1.3a"
#ifdef __cplusplus
#include <stdlib.h>
#endif
#define SPAMC "/usr/local/bin/spamc"
#define HAVE_PTHREAD 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VSYSLOG 1
#define HAVE_VSNPRINTF 1

configure: exit 1




















































































Anonymous
Tue 22 Apr 2003 02:28:23 PM UTC, comment #1: 


Could you paste in the part of config.log between the first
"checking for mi_stop in -lmilter" and "error: Cannot find
libmilter"?  I know it works on Solaris 2.7, but I didn't
test on 2.6.

Dan Nelson <dnelson>
Group administrator
Tue 22 Apr 2003 09:59:20 AM UTC, original submission:  


Hi,
I am trying to configure spamass-milter-0.1.3a in my
Solaris 2.6 system. libmilter.a is already installed in
/usr/lib
The configure script gives :

checking for mi_stop in lmilter...no
checking for library containing strlcpy...no
checking for mi_stop in lmilter...no
configure: error: Cannot find libmilter

Have yoy any idea ?

Thanks in advance

Yiannis Georgiadis
CC Univ.of.AThens

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-04-22 dnelson Assigned toNone None

Back to the top

Powered by Savane 3.13-8ccc.
Corresponding source code