Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 12:13:01 -0500 (EST)
From:      Mike Wade <mwade@cdc.net>
To:        small@FreeBSD.ORG
Subject:   crunchgen problems with postfix
Message-ID:  <Pine.GSO.4.10.10001291205560.8122-100000@server2>

next in thread | raw e-mail | index | archive | help
Hello!  I've been using crunchgen for quite some time with PicoBSD on
flash.  Recently I decided to add a full featured mail server (Postfix) to
my project but ran into this linking(?) problem with crunchgen.  The
'smtp' program with Postfix compiles just fine without using crunchgen but
something bizarre happens with a few external variables.  I've included a
simple crunch config file to demonstrate the problem:

--- crunch.conf ---
progs smtp

special smtp objdir /usr/home/mwade/postfix-19991231-pl02/smtp
special smtp objs smtp.o quote_821_local.o smtp_connect.o smtp_proto.o
smtp_chat.o  smtp_session.o smtp_addr.o smtp_trouble.o smtp_unalias.o
smtp_state.o

libs -L/usr/home/mwade/postfix-19991231-pl02/lib -lmaster -lglobal -ldns
-lutil
--- crunch.conf ---

cc -static -o crunch crunch.o smtp.lo
-L/usr/home/mwade/postfix-19991231-pl02/lib -lmaster -lglobal -ldns -lutil
/usr/home/mwade/postfix-19991231-pl02/lib/libglobal.a(debug_peer.o): In
function `debug_peer_init':
debug_peer.o(.text+0x1d): undefined reference to `var_debug_peer_list'
debug_peer.o(.text+0x3e): undefined reference to `var_debug_peer_level'
/usr/home/mwade/postfix-19991231-pl02/lib/libglobal.a(debug_peer.o): In
function `debug_peer_check':
debug_peer.o(.text+0xa1): undefined reference to `var_debug_peer_level'
*** Error code 1

Comments?  Suggestions?

---
Mike Wade (mwade@cdc.net)
Director of Systems Administration
CDC Internet, Inc.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10001291205560.8122-100000>