Dear Ben,
I restarted my effort to get 1.8.0 compiled on Solaris 5.10 x86, but it
still fails like follows:
/opt/solarisstudio12.3/bin/cc -mt -DAFS_PTHREAD_ENV -Dsolaris
-DAFS_SUN5_ENV -dy -Bdynamic -m64 \
-L/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib
-L/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib -o linktest \
./linktest.c -I. -I.. -I../nfs
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/afs
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/afs/UKERNEL
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/config
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/rx
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/rx/UKERNEL
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/rxkad
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/util
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/afs
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/afs/UKERNEL
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/rxkad
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/config
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/fsint
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/vlserver
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/libuafs
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/auth
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/include/afs
-I/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/include -DUKERNEL \
libuafs.a /afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib/libcmd.a \
/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib/libafsutil.a
/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib/libopr.a \ -lafshcrypto
-lrokenafs -lsocket -lnsl -lthread -lm -ldl -lresolv -lsocket -lnsl
-lintl -ldl
=-O"/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/src/afs/UKERNEL/sysincludes.h",
line 839: warning: syntax error: empty declaration
/usr/gnu/bin/ginstall -c -d
/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib/perl
/usr/gnu/bin/ginstall -c -d
/afs/ipp/home/k/kcb/src/openafs/1.8.0.pre1/lib/perl/AFS mkdir -p
PERLUAFS =-Oswig -perl5 -o PERLUAFS/ukernel_swig_perl.c
./ukernel_swig.i *** Signal 11 - core dumped make: Fatal error:
Command failed for target `PERLUAFS/ukernel_swig_perl.c' Current
working directory
/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0.pre1/src/libuafs
*** Error code 1 make: Fatal error: Command failed for target
`libuafs' Current working directory
/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0.pre1 *** Error
code 1 make: Fatal error: Command failed for target `build' Current
working directory
/afs/ipp-garching.mpg.de/home/k/kcb/src/openafs/1.8.0.pre1 *** Error
code 1 make: Fatal error: Command failed for target `all'
This "swig" (second smiley) seems to be a make step which was not
present in AFS 1.6.
In fact I had to get and build swig (and pcre) first to get this going.
While swig does not core-dump on it's own test cases. (Though "make -k
check" did not make the target.)
It core dumps for the PERLUAFS interface.
Do you have any idea how to proceed. (I doubt that I'm in the position
to understand why swig core-dumps.)
Is there a way to circumvent making the PERLUAFS?
And what about the message marked with the first smiley? May be you
better understand the Sun/Oracle compilers "emotions" about
src/afs/UKERNEL/sysincludes.h
Best regards,
Karl
On 19.01.17 04:25, Benjamin Kaduk wrote:
Hello Karl,
On Tue, Jan 17, 2017 at 02:15:26PM +0100, Karl Behler wrote:
Dear Benjamin,
I tried to compile 1.8.0 from git commit 7442752... on our Solaris
platforms.
While I usually successfully build openafs 1.6.xx (and openafs-osd), I
fail building 1.8.0.
Are you interested in my results or is it too early to do Solaris builds?
I am definitely interested in your results!
In the first case I would go on and come up with the issues I'm experiencing
otherwise I would stand back and wait for you giving the go for Solaris
systems.
I don't have ready access to solaris systems, so we'll probably want to
work things through together, either on openafs-devel or in RT (openafs-bugs).
Thanks for the report, and sorry that both it didn't work right away and
the reply took so long to arrive.
-Ben
--
Dr. Karl Behler
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351