From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3448 invoked from network); 19 Jan 2004 11:01:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Jan 2004 11:01:41 -0000 Received: (qmail 27886 invoked by alias); 19 Jan 2004 11:01:27 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7010 Received: (qmail 27829 invoked from network); 19 Jan 2004 11:01:26 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 19 Jan 2004 11:01:26 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.58.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 19 Jan 2004 11:1:26 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i0JB1Qv28932 for ; Mon, 19 Jan 2004 11:01:26 GMT Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Mon, 19 Jan 2004 10:57:24 +0000 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 19 Jan 2004 10:53:36 +0000 To: Vincent Stemen cc: zsh-users@sunsite.dk Subject: Re: static link zsh/example and zsh/zftp errors on FreeBSD In-reply-to: "Vincent Stemen"'s message of "Mon, 19 Jan 2004 03:57:36 CST." <20040119095736.GA86747@quark.localdomain> Date: Mon, 19 Jan 2004 10:51:28 +0000 Message-ID: <12217.1074509488@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 19 Jan 2004 10:53:36.0646 (UTC) FILETIME=[7D52CA60:01C3DE7A] Vincent Stemen wrote: > Enable zsh/example in config.modules: > > name=zsh/example modfile=Src/Modules/example.mdd link=static auto=no load=yes > > I get the following errors: > > gcc -static -o zsh main.o `cat stamp-modobjs` -ltermcap -lm -lc > init.o: In function `init_bltinmods': > init.o(.text+0x236a): undefined reference to `add_automath' > init.o(.text+0x237b): undefined reference to `add_automath' > make[1]: *** [zsh] Error 1 > make[1]: Leaving directory `/u1/g2/pkg/src/zsh-4.1.1/Src' > make: *** [all] Error 1 That's a bit screwy; there's no add_automath, though there is an add_automathfunc which is only used inside module.c. > Enable zsh/zftp and I get the following error: > > make[3]: Entering directory `/u1/g2/pkg/src/zsh-4.1.1/Src/Modules' > make[3]: *** No rule to make target `tcp.mdh', needed by `zftp.mdh'. > Stop. > make[3]: Leaving directory `/u1/g2/pkg/src/zsh-4.1.1/Src/Modules' > make[2]: *** [headers] Error 1 > make[2]: Leaving directory `/u1/g2/pkg/src/zsh-4.1.1/Src' > make[1]: *** [headers] Error 2 > make[1]: Leaving directory `/u1/g2/pkg/src/zsh-4.1.1/Src' > make: *** [all] Error 1 You will need to enable zsh/tcp, too. It's probably a good idea to make either both or neither static. We don't usually try with a mixture. (Translation: I have no idea what will happen.) -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************