[OpenAFS-devel] Re: Difficulties to compile OpenAFS 1.8.0 alpah1 e.g. on Solaris x86
5.10
Karl Behler
karl.behler@ipp.mpg.de
Fri, 27 Jan 2017 18:04:28 +0100
This is a multi-part message in MIME format.
--------------744B7D446AA274F2769BFA0B
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
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
--------------744B7D446AA274F2769BFA0B
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: base64
PGh0bWw+CiAgPGhlYWQ+CiAgICA8bWV0YSBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9
d2luZG93cy0xMjUyIgogICAgICBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiPgogIDwvaGVh
ZD4KICA8Ym9keSB0ZXh0PSIjMDAwMDAwIiBiZ2NvbG9yPSIjRkZGRkZGIj4KICAgIDxkaXYg
Y2xhc3M9Im1vei1jaXRlLXByZWZpeCI+RGVhciBCZW4sPGJyPgogICAgICA8YnI+CiAgICAg
IEkgcmVzdGFydGVkIG15IGVmZm9ydCB0byBnZXQgMS44LjAgY29tcGlsZWQgb24gU29sYXJp
cyA1LjEwIHg4NiwKICAgICAgYnV0IGl0IHN0aWxsIGZhaW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