From owner-freebsd-small Sat Jan 29 9:13:16 2000 Delivered-To: freebsd-small@freebsd.org Received: from cdc.net (server1.cdc.net [207.244.0.12]) by hub.freebsd.org (Postfix) with SMTP id F2D3914E74 for ; Sat, 29 Jan 2000 09:13:08 -0800 (PST) (envelope-from mwade@cdc.net) Received: (qmail 16586 invoked from network); 29 Jan 2000 17:13:01 -0000 Received: from unknown (HELO cdc.net) (207.244.0.13) by server1.cdc.net with SMTP; 29 Jan 2000 17:13:01 -0000 Received: (qmail 11352 invoked by uid 100); 29 Jan 2000 17:13:01 -0000 Date: Sat, 29 Jan 2000 12:13:01 -0500 (EST) From: Mike Wade X-Sender: mwade@server2 To: small@FreeBSD.ORG Subject: crunchgen problems with postfix Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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