*BSD News Article 78409


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-peer.gsl.net!news.gsl.net!usenet.eel.ufl.edu!news.mathworks.com!nntp.primenet.com!arclight.uoregon.edu!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: C Development on FB 2.1.5 and 2.2x
Date: 16 Sep 1996 14:05:44 +0100
Organization: Coverform Ltd.
Lines: 26
Message-ID: <51jjb8$bo@anorak.coverform.lan>
References: <51g5js$4mb@nyx.cs.du.edu>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Robert Oliver (roliver@nyx.cs.du.edu) wrote:

:   I have a problem with some C code under FreeBSD 2.1.5 and 2.2x
: when I make one program, but the weard thing about this is 5 other
: programs built with no problem.  If some one has any suggestion,
: then I would like to hear them....Here is the error...

: [11:14pm] [/usr/projects/robby/uncert/src/block] 53: make
: cc -DSU -DBLOCK -O -c -I../../inc/ -I/usr1/projects/cwp/include -I/usr/X11R6/include blockplot.c
: cc -DBLOCK -O -o block blockmenu.o blockio.o blockplot.o axis.o  files.o  fonts.o  log.o  menu.o  messages.o  normal.o  parse.o  
: pref.o  print.o  rotated.o  uncertmisc.o  widget_tools.o  xcolors.o  -lXm -lXt -lX11 -lXext ../../lib/libXs.a -lc -lm 
: /usr1/projects/cwp/lib/libcwp.a /usr1/projects/cwp/lib/libpar.a /usr1/projects/cwp/lib/libsu.a

[piles of errors deleted]

And where do you expect these symbols to be found ?  Why don't you try
running "nm" on your libraries (and objects if you want) and see if the
symbols are there - ld says they're not.  Do you get compiler warnings
suggesting that you're using functions that aren't prototyped ?

You havn't given enough information.  It's like complaining that the
compiler says "syntax error line 20" without saying what line 20 contains !

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....