[OpenAFS-devel] silly question

Derek Atkins warlord@MIT.EDU
06 Jul 2002 00:28:29 -0400


Renato Arruda <rla9216@rit.edu> writes:

> That makes it compile, but there is a very strange link problem... Sorry for 
> the silly problems... and thanks for the help...
> []'s
> Renato
> 
> [rarruda@res140b-205 org]$ gcc temp.c -o temp
> /tmp/ccZaFnEY.o: In function `main':
> /tmp/ccZaFnEY.o(.text+0xc): undefined reference to `ka_Init'
> collect2: ld returned 1 exit status
> [rarruda@res140b-205 org]$

Well, yea.. You're not linking against the AFS libraries, so
of course it's not going to find ka_Init()!

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available