Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qmail-vmailmgr suite problem (cvm-vmailmgr compile)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Galle
n00b
n00b


Joined: 12 Aug 2003
Posts: 3

PostPosted: Thu Nov 24, 2005 10:22 am    Post subject: qmail-vmailmgr suite problem (cvm-vmailmgr compile) Reply with quote

Hi lads'n'lasses

I'm trying to emerge the qmail-vmailmgr suite and everything compiles fine until the box is supposed to compile the cvm-vmailmgr package.

The emerge output is as follows:

Code:

# emerge -v cvm-vmailmgr
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/cvm-vmailmgr-0.6 to /
>>> md5 files   ;-) cvm-vmailmgr-0.6.ebuild
>>> md5 files   ;-) files/cvm-vmailmgr-socket
>>> md5 files   ;-) files/run-cvm-vmailmgr-log
>>> md5 files   ;-) files/digest-cvm-vmailmgr-0.6
>>> md5 files   ;-) files/run-cvm-vmailmgr
>>> md5 src_uri ;-) cvm-vmailmgr-0.6.tar.gz
>>> Unpacking source...
>>> Unpacking cvm-vmailmgr-0.6.tar.gz to /var/tmp/portage/cvm-vmailmgr-0.6/work
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed Makefile
>>> Source unpacked.
( bglibs=`head -n 1 conf-bglibs`; \
  echo '#!/bin/sh';\
  echo 'main="$1"; shift';\
  echo exec `head -n 1 conf-ld` -L. "-L'${bglibs}'" '-o "$main" "$main.o" ${1+"$@"}' -lbg-sysdeps; \
) >load
chmod 755 load
( bgincs=`head -n 1 conf-bgincs`; \
  echo '#!/bin/sh'; \
  echo 'source=$1; shift'; \
  echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \
  echo exec `head -n 1 conf-cc` -I. "-I'${bgincs}'" '-o ${base}.o -c $source ${1+"$@"}'; \
) >compile
chmod 755 compile
./compile cvm-vmailmgr.c
./compile main.c
./compile lookup.c
./compile cvm/getpwnam.c
( ( ./compile trylib.c && ./load trylib -lcrypt ) >/dev/null 2>&1 \
  && echo -lcrypt || exit 0 ) >crypt.lib
rm -f trylib.o trylib
./load cvm-vmailmgr main.o lookup.o cvm/getpwnam.o `cat crypt.lib` -lcvm-module -lbg-crypto -lvmailmgr -lbg-net -lbg-cdb -lbg-dict -lbg-iobuf -lbg-path -lbg-str -lbg-misc
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libcvm-module.a(module_request.o): In function `handle_request':
module_request.c:(.text+0x1bd): undefined reference to `cvm_lookup'
module_request.c:(.text+0x1dd): undefined reference to `cvm_results'
collect2: ld returned 1 exit status
make: *** [cvm-vmailmgr] Error 1

!!! ERROR: net-mail/cvm-vmailmgr-0.6 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


My make.conf looks something like this:

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="ldap kerberos samba tcltk tetex odbc tiff firebird mysql xml sasl java ruby apache2 gd imap logmail"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"


Can anyone with a trained eye spot what might be wrong with this?

Regards,
Galle
_________________
Do not try to think outside the box. That's impossible. Instead, realise the truth. There is no box.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum