From owner-freebsd-questions Fri Jul 7 21:34:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id CD4D737B8FB for ; Fri, 7 Jul 2000 21:34:14 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 10344624 invoked from network); 8 Jul 2000 04:34:11 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 8 Jul 2000 04:34:11 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id GAA36617; Sat, 8 Jul 2000 06:34:07 +0200 (CEST) (envelope-from root) Posted-Date: Sat, 8 Jul 2000 06:34:07 +0200 (CEST) To: Stan Brown Cc: freebsd-ports@FreeBSD.ORG (FreeBSD Ports), freebsd-questions@FreeBSD.ORG (Free BSD Questions list) Subject: Re: Build failure on xmaddressbook References: <200006231358.GAA22083@netcom.com> Reply-To: clefevre@citeweb.net X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C From: Cyrille Lefevre Date: 08 Jul 2000 06:34:04 +0200 In-Reply-To: Stan Brown's message of "Fri, 23 Jun 2000 09:58:28 -0400 (EDT)" Message-ID: Lines: 52 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Canyonlands" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stan Brown writes: > I am steing up a 4.0 STABLE machine, and I can't seem to build > xmaddressbook. > > I downloaded openmotif-2.1.30-1_IST.tgz from > /pub/openmotif/R2.1.30/binaries/ist on > http://www.opengroup.org/openmotif/ did a pkg_add , and added the > folowing to /etc/make.conf: > > HAVE_MOTIF= yes > MOTIF_STATIC= yes > > Here is the failure that I am getting: > > Script started on Fri Jun 23 09:57:34 2000 > You have mail. > brown# make install > ===> Building for xmaddressbook-1.5.3 > rm -f xmaddressbook > cc -o xmaddressbook -O -L/usr/X11R6/lib file.o general.o help.o list.o main.o menu.o print.o quit.o search.o error_msg.o duplicate.o namelist.o goto.o card.o curses.o mail.o preferences.o /usr/X11R6/lib/libXm.a -L/usr/X11R6/lib -lXp -lXt -lX11 -lICE -lXi -lSM -loldX -lXext > /usr/X11R6/lib/libXm.a(TextF.o): In function `PreeditDraw': > TextF.o(.text+0xa3ca): undefined reference to `wcschr' > TextF.o(.text+0xa858): undefined reference to `wcscpy' > TextF.o(.text+0xa8a6): undefined reference to `wcscat' > TextF.o(.text+0xa8d3): undefined reference to `wcslen' > TextF.o(.text+0xa97a): undefined reference to `wcslen' > TextF.o(.text+0xa988): undefined reference to `wcsncat' > TextF.o(.text+0xa9cf): undefined reference to `wcslen' > TextF.o(.text+0xaa0e): undefined reference to `wcslen' > *** Error code 1 > > Stop in /usr/ports/deskutils/xmaddressbook/work/xmaddressbook. > *** Error code 1 > > All of my contacts are stored in this format! I really need to get this > workig. > > Could someone please tell me what I am doing wrong here? grab openmotif/files/FreeBSD.c from the following PR : http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18691 and add it to the list of the object files to link your program. 2 cents :) Cyrille. -- home:mailto:clefevre@no-spam.citeweb.net Supprimer "no-spam." pour me repondre. work:mailto:Cyrille.Lefevre@no-spam.edf.fr Remove "no-spam." to answer me back. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message