*BSD News Article 73593


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Troubles compiling Mosaic port
Date: 13 Jul 1996 11:16:40 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <4s80io$n33@uriah.heep.sax.de>
References: <01bb6eca.f92ac700$38673fcb@simonh.addease.com.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

"Simon Harris" <simon@addease.com.au> wrote:

> I have been trying to build the Mosaic port and have encountered a number
> of problems. I am running FreeBSD 2.1-RELEASE, and have Motif 1.2 from
> XInside installed and running fine:

> gcc  -o Mosaic main.o gui.o gui-dialogs.o gui-menubar.o gui-documents.o
> gui-news.o newsrc.o gui-extras.o mo-www.o mo-dtm.o hotlist.o techsupport.o
> history.o annotate.o pan.o grpan.o grpan-www.o audan.o globalhist.o img.o
> picread.o xpmhash.o xpmread.o gifread.o pixmaps.o medcut.o mo-hdf.o
> hotfile.o child.o mailto.o readJPEG.o readPNG.o accept.o cciServer.o
> cciBindings.o cciBindings2.o support.o bla.o comment.o kcms.o md5.o
> proxy-dialogs.o proxy-misc.o gui-popup.o gui-ftp.o prefs.o hdf-browse.o 
> .../libwww2/libwww.a ../libhtmlw/libhtmlw.a ../libXmx/libXmx.a
> .../libnut/libnut.a -L/usr/X11R6/lib -lXmu -lXt -lXext -lSM -lICE -lXpm
> -lX11 -L/lib -lpng -lz -lm    -L -ljpeg   
> gui.o: Undefined symbol `__XmStrings' referenced from text segment
> gui.o: Undefined symbol `_XmStringCreateSimple' referenced from text
> segment

It's insufficient to buy Motif only. :-)

You should actually also link it (-lXm).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)