[OpenAFS] Undefined symbol problem

David Botsch dwb7@ccmr.cornell.edu
Thu, 13 Nov 2003 19:35:03 -0500


Fascinating...

that seems to have done the trick, since I now have to track down other
undefined things like:

/usr/lib/afs/libauth.a(ktc.o): In function `ktc_GetToken':
/usr/src/redhat/BUILD/openafs-1.2.10/src/auth/ktc.c:546: undefined reference to
`pioctl'

On Thu, Nov 13, 2003 at 06:16:34PM -0500, Derrick J Brashear wrote:
> On Thu, 13 Nov 2003, David Botsch wrote:
> 
> > Hi, all.
> >
> > Working on some code under linux (Rh 7.3 - oafs 1.2.10).
> >
> > It wasn't compiling, so I wrote a quick piece of test code. The test code
> > doesn't compile using:
> >
> > > gcc -L/usr/lib/afs -lauth test.c
> > test.c: In function `main':
> > test.c:4: warning: return type of `main' is not `int'
> > /tmp/ccObLywC.o: In function `main':
> > /tmp/ccObLywC.o(.text+0x2b): undefined reference to `ktc_ListTokens'
> > collect2: ld returned 1 exit status
> 
> gcc -o test test.c -L/usr/lib/afs -lauth
> 
> maybe?
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************