Hey 

try 

cc -I/usr/include/kudzu -L/usr/lib -lkudzu -o hw_exam hw_exam.c

/usr/lib must not be in your LD_LIBRARY_PATH

hth
charles
On Fri, 19 Nov 1999, Rick Forrester wrote:

> 
> I'm sure I'm doing something really dumb here (which someone will,
> hopefully, point out immediately) but I can't get a test compile
> to work.
> 
> The code references the kudzu header & library,
> 
> /usr/include/kudzu/kudzu.h
> /usr/lib/libkudzu.a
> 
> and I'm using the command line:
> 
> cc -I/usr/include/kudzu -lkudzu -o hw_exam hw_exam.c
> 
> which results in linker messages of
> 
> undefined reference to 'initializeDeviceList'
> undefined reference to 'probeDevices'
> undefined reference to 'writeDevices'
> 
> Since the "code" right now consists essentially of these three calls,
> obviously it goes nowhere.
> 
> Am continuing to dig through my 'C' linker refs to see what I missed
> but a hint, even prefaced with "Hey DUMMY!" would be appreciated! 8^)


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to