Re: OpenAFS on FreeBSD Progress (Works)
Boris Samorodov <[email protected]> Wed, 10 Dec 2008 00:07:45 +0300
| Newsgroups | gmane.os.freebsd.devel.afs |
|---|---|
| Message-ID | <[email protected]> |
Hi Matt, Matt Benjamin <[email protected]> writes: > Which patches from RT (#s) do you have? For now, please attach any > patch that we don't have. I have OpenAFS compiling at amd64, in > #123811, I took the diff from this ticket and create patches based on it. > and I thought it compiled at CURRENT (but it maybe stopped at > some point), I test ports with ports-mgmt/tinderbox. This program creates a vanilla environment for building/packaging. The environment of the main system don't influence testing. > and will merge any reasonable change you have. The first one is just like a diff for src/cf/osconf.m4: ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-configure Without this patch I got an error at amd64 build: ----- ... cd picobj && cc -I. -I. -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/config -I/work/a/ports/net/openafs/work/openafs-1.4.8/include -O2 -pipe -c glue.c + cc -shared -o libafssetpag.so.1.0 picobj/setpag.o picobj/glue.o syscall.o /usr/bin/ld: picobj/setpag.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC picobj/setpag.o: could not read symbols: Bad value *** Error code 1 ----- The second patch (I called it a hack) deals with the absence of sgtty.h since __FreeBSD_version=800039: ftp://ftp.ipt.ru/pub/tmp/openafs/files/patch-curseswindows.c A better way may be to use ifdefs here. Without this patch I get an error at 8-CURRENT build: ----- ... cd src && cd gtx && make all ... cc -O -I/work/a/ports/net/openafs/work/openafs-1.4.8/src/config -I. -I. -I/work/a/ports/net/openafs/work/openafs-1.4.8/include -I/work/a/ports/net/openafs/work/openafs-1.4.8/include/afs -I/work/a/ports/net/openafs/work/openafs-1.4.8/include/rx -I/work/a/ports/net/openafs/work/openafs-1.4.8 -I/work/a/ports/net/openafs/work/openafs-1.4.8/src -I/work/a/ports/net/openafs/work/openafs-1.4.8/src -O2 -pipe -fPIC -c curseswindows.c curseswindows.c:35:19: error: sgtty.h: No such file or directory *** Error code 1 ----- WBR & HTH -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-afs To unsubscribe, send any mail to "[email protected]"