Coda File System

Coda Server - Solaris 7

From: <andy_at_ricardo.de>
Date: Wed, 12 Jan 2000 13:43:48 +0100
Hi there,
i tried to install coda-server on Solaris 7.
did anything you recomment in README-File (from Phil Nelson)
but got following messages ...

bash-2.01# cat make_install.std*
drvconfig: Driver (coda) failed to attach
Warning: Driver (coda) successfully added to system but failed to attach
make[1]: *** [real-install] Error 1
make: *** [install] Error 2
(cd obj; /usr/local/bin/make)
make[1]: Entering directory `/export/home/andy/solaris-coda/obj'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/export/home/andy/solaris-coda/obj'
make[1]: Entering directory `/export/home/andy/solaris-coda'
rem_drv coda
rm -f /dev/cfs0
ln -s /devices/pseudo/coda_at_0:cfs /dev/cfs0
cp obj/coda /usr/kernel/drv
echo 'name="coda" parent="pseudo" instance=0;' >
/usr/kernel/drv/coda.conf
chmod 644 /usr/kernel/drv/coda /usr/kernel/drv/coda.conf
add_drv coda
make[1]: Leaving directory `/export/home/andy/solaris-coda'

can you see from these messages - what went wrong ???

i was using GNUmake 3.77

Jan told me to install LWP at first - i got these messages fom
"configure" ....

bash-2.01# ./configure
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.7
checking target system type... sparc-sun-solaris2.7
checking build system type... sparc-sun-solaris2.7
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking for as... (cached) as
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.7 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for pthread_create in -lpthread... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
creating ./config.status
creating Makefile
creating include/Makefile
creating include/lwp/Makefile
creating src/Makefile
creating src-pt/Makefile
creating pkgs/Makefile
creating pkgs/lwp.spec
creating pkgs/lwp-nt.spec
creating pkgs/lwp-dos.spec
creating config.h
config.h is unchanged



and these messages from "make"


bash-2.01# make
make  all-recursive
Making all in include
Making all in lwp
Making all in src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include    -g -O2 -c fasttime.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c  -fPIC -DPIC
fasttime.c -o .libs/fasttime.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c fasttime.c -o
fasttime.o >/dev/null 2>&1
mv -f .libs/fasttime.lo fasttime.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include    -g -O2 -c iomgr.c
rm -f .libs/iomgr.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c  -fPIC -DPIC
iomgr.c -o .libs/iomgr.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c iomgr.c -o
iomgr.o >/dev/null 2>&1
mv -f .libs/iomgr.lo iomgr.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include    -g -O2 -c lock.c
rm -f .libs/lock.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c  -fPIC -DPIC
lock.c -o .libs/lock.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c lock.c -o lock.o
>/dev/null 2>&1
mv -f .libs/lock.lo lock.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include    -g -O2 -c lwp.c
rm -f .libs/lwp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -c  -fPIC -DPIC
lwp.c -o .libs/lwp.lo
lwp.c: In function `LWP_CreateProcess':
lwp.c:590: `addrptr' undeclared (first use in this function)
lwp.c:590: (Each undeclared identifier is reported only once
lwp.c:590: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `lwp.lo'
Current working directory /export/home/andy/lwp-1.0/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/andy/lwp-1.0
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
bash-2.01# 



could you give me some tips or hints what went wrong .....

thanks for help - hope you dont hate me from asking further questions
....
:o)

regards 
Andy
Hamburg - Germany
Received on 2000-01-12 07:50:45