[OpenAFS-devel] jafs won't compile
Manfred Paul
manne.paul@web.de
Thu, 17 Nov 2005 14:35:14 +0100
Precedence: fm-user
Organization: http://freemail.web.de/
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
I still not successful. I checked out the 1.4.1rc1 and did the following:
I installed Blackdown Java 1.4 (The new Sun Java 1.5 caused problems)
manfred@tuxpad:~/Build/openafs-1.4.1-rc1$ ./configure --prefix /usr --with-afs-sysname i386
manfred@tuxpad:~/Build/openafs-1.4.1-rc1$ export JAVA_HOME=/usr/lib/j2se/1.4
manfred@tuxpad:~/Build/openafs-1.4.1-rc1$ make jafs
i get the following error:
cd src && cd config && make all
make[1]: Entering directory `/home/manfred/Build/openafs-1.4.1-rc1/src/config'
rm -f Makefile.version
if [ -r SRC/../CML/state ] ; \
then cp ./Makefile.version-CML Makefile.version ; \
else cp Makefile.version-NOCML Makefile.version ; \
fi
make -f Makefile.version AFS_component_version_number.c
make[2]: Entering directory `/home/manfred/Build/openafs-1.4.1-rc1/src/config'
echo 'char cml_version_number[]="@(#) OpenAFS 1.4.1-rc1 built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c
echo 'char* AFSVersion = "openafs 1.4.1-rc1"; ' >>AFS_component_version_number.c
make[2]: Leaving directory `/home/manfred/Build/openafs-1.4.1-rc1/src/config'
cc -O -I/home/manfred/Build/openafs-1.4.1-rc1/include -I. -O -I. -c ./config.c
./config.c: In function 'main':
./config.c:35: warning: incompatible implicit declaration of built-in function 'exit'
./config.c:40: warning: incompatible implicit declaration of built-in function 'exit'
./config.c:45: warning: incompatible implicit declaration of built-in function 'exit'
./config.c:65: warning: incompatible implicit declaration of built-in function 'exit'
./config.c:68: warning: incompatible implicit declaration of built-in function 'exit'
cc -O -I/home/manfred/Build/openafs-1.4.1-rc1/include -I. -O -c ./mc.c
cc -O -I/home/manfred/Build/openafs-1.4.1-rc1/include -I. -O -o config config.o mc.o
cc -O -I/home/manfred/Build/openafs-1.4.1-rc1/include -I. -O -o mkvers ./mkvers.c
mkdir -p /home/manfred/Build/openafs-1.4.1-rc1/include
mkdir -p /home/manfred/Build/openafs-1.4.1-rc1/include/afs
make[1]: *** No rule to make target `param.yes.h', needed by `/home/manfred/Build/openafs-1.4.1-rc1/include/afs/param.h'. Stop.
make[1]: Leaving directory `/home/manfred/Build/openafs-1.4.1-rc1/src/config'
make: *** [config] Error 2
Now i moved into the src/JAVA/libjafs (for testing) and did:
manfred@tuxpad:~/Build/openafs-1.4.1-rc1/src/JAVA/libjafs$ make
if [ ! -e ./h ]; then \
ln -s /usr/include/sys h; \
fi; \
rm -f ./Internal.o; \
export BUILD_TYPE=user; \
make /home/manfred/Build/openafs-1.4.1-rc1/lib/libjafs.so
make[1]: Entering directory `/home/manfred/Build/openafs-1.4.1-rc1/src/JAVA/libjafs'
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c GetNativeString.c
/usr/lib/j2se/1.4/bin/javac -classpath ../classes ../classes/org/openafs/jafs/ACL.java
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.ACL
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c ACL.c
ACL.c: In function 'setACL':
ACL.c:111: warning: incompatible implicit declaration of built-in function 'strlen'
/usr/lib/j2se/1.4/bin/javac -classpath ../classes ../classes/org/openafs/jafs/File.java
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.File
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c File.c
File.c: In function 'getAbsolutePath':
File.c:102: warning: incompatible implicit declaration of built-in function 'strcpy'
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.FileInputStream
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c FileInputStream.c
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.FileOutputStream
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c FileOutputStream.c
FileOutputStream.c: In function 'Java_org_openafs_jafs_FileOutputStream_write':
FileOutputStream.c:125: warning: incompatible implicit declaration of built-in function 'malloc'
FileOutputStream.c:131: warning: pointer targets in passing argument 5 of '(*env)->GetByteArrayRegion' differ in signedness
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -fPIC -c -o Internal.o Internal.c
Internal.c: In function 'readCacheParms':
Internal.c:389: warning: incompatible implicit declaration of built-in function 'strcpy'
Internal.c:391: warning: incompatible implicit declaration of built-in function 'strcpy'
Internal.c:404: warning: incompatible implicit declaration of built-in function 'strchr'
Internal.c:411: warning: incompatible implicit declaration of built-in function 'strlen'
Internal.c:414: warning: incompatible implicit declaration of built-in function 'strcpy'
/usr/lib/j2se/1.4/bin/javac -classpath ../classes ../classes/org/openafs/jafs/Token.java
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.Token
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c UserToken.c
UserToken.c: In function 'Java_org_openafs_jafs_Token_initUserSpace':
UserToken.c:103: warning: incompatible implicit declaration of built-in function 'strcpy'
/usr/lib/j2se/1.4/bin/javac -classpath ../classes ../classes/org/openafs/jafs/VersionInfo.java
/usr/lib/j2se/1.4/bin/javah -classpath ../classes -jni -d ./ org.openafs.jafs.VersionInfo
cc -I/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs -I/home/manfred/Build/openafs-1.4.1-rc1/include -I/usr/lib/j2se/1.4/include -I /usr/lib/j2se/1.4/include -O -D_REENTRANT -DLIBJUAFS -c VersionInfo.c
make[1]: *** No rule to make target `/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs/UAFS/AFS_component_version_number.c', needed by `/home/manfred/Build/openafs-1.4.1-rc1/src/libuafs/UAFS/AFS_component_version_number.o'. Stop.
make[1]: Leaving directory `/home/manfred/Build/openafs-1.4.1-rc1/src/JAVA/libjafs'
make: *** [libjafs] Error 2
What is the Problem?
-> `/home/manfred/Build/openafs-1.4.1-rc1/include/afs/param.h'. does not exist - year that's true, but why?
-> /home/manfred/Build/openafs-1.4.1-rc1/src/libuafs/UAFS/AFS_component_version_number.c - this file is also missing
mfg manne
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193