[milters] Archive

Lists Index Date Thread Search

Article: 398
From: Robert Kirkley -X (rkirkley - Coyote Creek Consulting at Cisco)
Date: 2010-03-30 11:35:18 -0400
Subject: Error building libsnert 1.73.17 on RHEL 5.3

System:

Red Hat Enterprise Linux Server release 5.3 (Tikanga)
2.6.18-128.1.14.el5 #1 SMP Mon Jun 1 15:52:58 EDT 2009 x86_64 x86_64
x86_64 GNU/Linux
db4-devel-4.3.29-9
db4-4.3.29-9
sendmail-8.13.8-2.el5
sendmail-devel-8.13.8-2.el5


Configure seemed to go OK:

LibSnert/1.73.17
Copyright 1996, 2010 by Anthony Howe. All rights reserved.

  Platform............: Linux gcc
  Berkeley DB.........: 4.3 -ldb-4.3
  POSIX Threads.......: yes yes
  SQLite3.............: yes
  Sendmail libmilter..: yes
  Semaphore API.......: SYSTEMV_API
  Shared Memory API...: SYSTEMV_API
  CFLAGS..............: -I/usr/include/db4
-I/opt/miltertesting/org/sqlite/include -D_REENTRANT -O2 -Wall -m64
-I${top_srcdir}/../../include 
  LDFLAGS.............: -L/opt/miltertesting/org/sqlite/lib -m64
-L${top_srcdir}/../../lib 
  LIBS................: -lpthread -ldl 



The make build fails at kvm.c part:

***************************************************************
==> /opt/miltertesting/com/snert/src/lib/type
***************************************************************

gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Object.o -c Object.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Data.o -c Data.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Integer.o -c
Integer.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Decimal.o -c
Decimal.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Hash.o -c Hash.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Vector.o -c Vector.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o queue.o -c queue.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o Text.o -c Text.c
gcc  -I/usr/include/db4 -I/opt/miltertesting/org/sqlite/include
-D_REENTRANT -O2 -Wall -m64 -I../../../include  -o kvm.o -c kvm.c
kvm.c: In function 'kvm_check_socket':
kvm.c:1921: warning: dereferencing type-punned pointer will break
strict-aliasing rules
kvm.c: In function 'kvm_open_socket':
kvm.c:2333: warning: dereferencing type-punned pointer will break
strict-aliasing rules
kvm.c:2743:3: error: #error "SQLite3 version 3.3.9 or better required."
kvm.c: In function 'kvm_prepare_sql':
kvm.c:3206: warning: implicit declaration of function
'sqlite3_prepare_v2'
make[1]: *** [kvm.o] Error 1
make[1]: Leaving directory `/opt/miltertesting/com/snert/src/lib/type'
/bin/sh: line 0: cd: util: No such file or directory
/bin/sh: line 0: cd: io: No such file or directory
/bin/sh: line 0: cd: net: No such file or directory
/bin/sh: line 0: cd: mail: No such file or directory
/bin/sh: line 0: cd: sys: No such file or directory
/bin/sh: line 0: cd: tools: No such file or directory
make: *** [build] Error 1


Any ideas?


Robert Kirkley
Systems Engineer
Coyote Creek Consulting at Cisco




Lists Index Date Thread Search