Russ Allbery wrote:
Jason Edgecombe <[EMAIL PROTECTED]> writes:
I wanted to see if I would have any better luck compiling 1.5.x for maemo.
Cross-compiling for armel in scratchbox if that matters.
The compile failed. Here is the last few lines of the compile:
The basic problem that caused this was that arm was the only platform that
didn't get UBIK_PTHREAD_ENV defined everywhere AFS_PTHREAD_ENV was
defined. Since both were otherwise always defined together, I believe
UBIK_PTHREAD_ENV is redundant.
I think /afs/ir.stanford.edu/users/r/r/rra/public/dropoff/openafs-pthread.diff
fixes the underlying problem in the correct way after some discussion on
Zephyr. Will commit after further build testing and review.
I applied the patch. Now I get the following error:
cc -O -I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src/config
-I. -I../../../src/tvlserver
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/afs
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/rx
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/src
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src
-DAFS_PTHREAD_ENV -pthread -D_REENTRANT -D_LARGEFILE64_SOURCE
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -c vldbint.ss.c
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src/rxgen/rxgen -x -c
-o vldbint.xdr.c ../vlserver/vldbint.xg
sbox-arm-linux-cpp: ../vlserver/vldbint.xg: No such file or directory
sbox-arm-linux-cpp: warning: `-x c' after last input file has no effect
sbox-arm-linux-cpp: no input files
cc -O -I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src/config
-I. -I../../../src/tvlserver
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/afs
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/rx
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/src
-I/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src
-DAFS_PTHREAD_ENV -pthread -D_REENTRANT -D_LARGEFILE64_SOURCE
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -c vldbint.xdr.c
cc -o vlserver vlserver.o vlutils.o vlprocs.o vldbint.ss.o \
vldbint.xdr.o
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libubik_pthread.a
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libafsauthent.a
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libcmd.a
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libafsrpc.a
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libafsutil.a
-lpthread -lresolv
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/lib/libaudit.a
vlserver.o: In function `main':vlserver.c:(.text+0xa4c): undefined
reference to `VL_ExecuteRequest'
collect2: ld returned 1 exit status
make[4]: *** [vlserver] Error 1
I ran regen.sh and recompiled, but I got the same result.
Jason
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel