Skip site navigation (1)Skip section navigation (2)
Date:      08 Jul 2000 06:34:04 +0200
From:      Cyrille Lefevre <clefevre@no-spam.citeweb.net>
To:        Stan Brown <stanb@netcom.com>
Cc:        freebsd-ports@FreeBSD.ORG (FreeBSD Ports), freebsd-questions@FreeBSD.ORG (Free BSD Questions list)
Subject:   Re: Build failure on xmaddressbook
Message-ID:  <sntlb5qb.fsf@pc166.gits.fr>
In-Reply-To: Stan Brown's message of "Fri, 23 Jun 2000 09:58:28 -0400 (EDT)"
References:  <200006231358.GAA22083@netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Stan Brown <stanb@netcom.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sntlb5qb.fsf>