[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sparc Problems Revisited



So, death & chaos have backed off far enough to give me a chance to try to get my SPARCstation 4 working properly.

Background:

I FUBARed a source upgrade & ended up with something claiming to be 3.1 that wouldn't compile. I untarred comp31.tgz (-xzvpf), no luck. Wiped & re-fetched source. (U)pgraded from floppy31, no luck. (U)pgraded back to 3.0 from floppy30. The system appeared to be normal again. (U)pgraded to 3.1 via floppy again. Randomly installed joe from ports, the compiler works. I upgraded /etc/ & /var by hand, and...

&@$*(&^$%!

I'm back to the error that made me think I'd FUBARed the source upgrade. After verifying that I had a working compiler, I went to build a new kernel for netatalk. I did the following:

-----
cd /usr/src/sys/arch/sparc/conf
cp GENERIC ATALK
	(Edit ATALK by adding the following at the end of the file:
	# Enable AppleTalk
	option  NETATALK)
cd /usr/src/sys/arch/sparc/compile/ATALK
make clean
make depend
make
-----

Make runs for a while, then dies like this:

-----
cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-format -Wno-main -mno-fpu -I/usr/src/sys/lib/libkern/arch/sparc -nostdinc -I../../. -I/usr/src/sys/arch/sparc/compile/ATALK/../../../../arch -I/usr/src/sys/arch/sparc/compile/ATALK/../../../.. -DNTP -DDDB -DDIAGNOSTIC -DKTRACE -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_25 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DQUOTA -DEXT2FS -DMFS -DTCP_SACK -DNFSCLIENT -DNFSSERVER -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DINET -DALTQ -DINET6 -DPULLDOWN_TEST -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DBOOT_CONFIG -DSUN4 -DSUN4C -DSUN4M -DRASTERCONSOLE -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DNETATALK -D_KERNEL -Dsparc -c /usr/src/sys/lib/libkern/muldi3.c -o muldi3.o
ld: muldi3.o.o: relocation address out of range
*** Error code 1


Stop in /usr/src/sys/lib/libkern.
*** Error code 1

Stop in /sys/arch/sparc/compile/ATALK (line 28 of /usr/src/sys/arch/sparc/compile/ATALK/../../../../lib/libkern/Makefile.inc).
-----


Hmmm... Apache patch dies as well. After "make -f Makefile.bsd-wrapper", I get this:

-----
sparky:httpd {134} make -f Makefile.bsd-wrapper
/usr/bin/lndir -s -e obj -e obj.sparc -e Makefile.bsd-wrapper /usr/src/usr.sbin/httpd
Configuring for Apache, Version 1.3.24
+ using installation path layout: OpenBSD (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for OpenBSD platform
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
o dbm_auth_module uses ConfigStart/End
o db_auth_module uses ConfigStart/End
Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
Either disable mod_auth_db or provide us with the paths
to the Berkeley-DB include and library files.
(Hint: INCLUDES, LDFLAGS, LIBS)
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/dbmmanage.1 > src/support/dbmmanage.cat1
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/htdigest.1 > src/support/htdigest.cat1
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/htpasswd.1 > src/support/htpasswd.cat1
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/ab.8 > src/support/ab.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/apachectl.8 > src/support/apachectl.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/logresolve.8 > src/support/logresolve.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/httpd.8 > httpd.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/rotatelogs.8 > src/support/rotatelogs.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/apxs.8 > src/support/apxs.cat8
nroff -Tascii -mandoc /usr/src/usr.sbin/httpd/src/support/suexec.8 > src/support/suexec.cat8
===> src
make: don't know how to make all. Stop in /usr/src/usr.sbin/httpd/obj/src.
*** Error code 2


Stop in /usr/src/usr.sbin/httpd/obj (line 202 of ./Makefile).
*** Error code 1

Stop in /usr/src/usr.sbin/httpd/obj (line 184 of Makefile).
*** Error code 1

Stop in /usr/src/usr.sbin/httpd (line 555 of /usr/src/usr.sbin/httpd/Makefile.bsd-wrapper).
-----


So I've overwritten lots of stuff with the (U)pgrades & gone through /etc, /var, & /root by hand. What's left to cause these problems? Is it time to back up $HOME & /var/www/htdocs & reformat?

Thanks,
-Kit
--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
-Benjamin Franklin


"...qui desiderat pacem, praeparet bellum"
(...if you would have peace, be prepared for war)
-Flavius Vegetius Renatus



Visit your host, monkey.org