atom feed52 messages in org.freebsd.freebsd-alphaRe: Alpha Install
FromSent OnAttachments
Simon ShapiroAug 27, 1998 9:41 am 
Doug RabsonAug 27, 1998 2:21 pm 
Jordan K. HubbardAug 27, 1998 5:23 pm 
Simon ShapiroAug 27, 1998 6:48 pm 
Gary PalmerAug 27, 1998 7:39 pm 
Gary PalmerAug 27, 1998 7:47 pm 
Doug RabsonAug 28, 1998 12:38 am 
John BirrellAug 28, 1998 1:04 am 
Jordan K. HubbardAug 28, 1998 2:42 am 
Simon ShapiroAug 28, 1998 10:06 am 
Terry LambertAug 28, 1998 10:52 am 
Simon ShapiroAug 28, 1998 8:04 pm 
Matthew JacobAug 28, 1998 8:11 pm 
Matthew JacobAug 28, 1998 8:33 pm 
Simon ShapiroAug 28, 1998 8:50 pm 
Warner LoshAug 28, 1998 9:14 pm 
Simon ShapiroAug 28, 1998 9:28 pm 
Simon ShapiroAug 28, 1998 9:45 pm 
Doug RabsonAug 29, 1998 12:45 am 
John BirrellAug 29, 1998 4:12 pm 
Simon ShapiroAug 29, 1998 4:52 pm 
Simon ShapiroAug 29, 1998 7:21 pm 
Simon ShapiroAug 29, 1998 7:25 pm 
Doug RabsonAug 30, 1998 4:00 am 
Doug RabsonAug 31, 1998 6:49 am 
Simon ShapiroAug 31, 1998 7:34 am 
Matthew JacobAug 31, 1998 8:17 am 
Simon ShapiroAug 31, 1998 8:49 am 
Doug RabsonAug 31, 1998 9:04 am 
Chris G. DemetriouAug 31, 1998 9:31 am 
Matthew JacobAug 31, 1998 11:34 am 
Matthew JacobAug 31, 1998 12:25 pm 
Simon ShapiroAug 31, 1998 12:36 pm 
Simon ShapiroAug 31, 1998 12:46 pm 
Matthew JacobAug 31, 1998 12:59 pm 
Simon ShapiroAug 31, 1998 1:06 pm 
Simon ShapiroAug 31, 1998 1:23 pm 
Andrew GallatinAug 31, 1998 1:40 pm 
Simon ShapiroAug 31, 1998 2:27 pm 
Simon ShapiroAug 31, 1998 2:28 pm 
Simon ShapiroAug 31, 1998 4:47 pm 
Andrew GallatinSep 1, 1998 8:48 am 
Matthew JacobSep 1, 1998 9:17 am 
Andrew GallatinSep 1, 1998 9:31 am 
Matthew JacobSep 1, 1998 9:34 am 
Jason ThorpeSep 1, 1998 9:51 am 
Simon ShapiroSep 1, 1998 2:05 pm 
Doug RabsonSep 2, 1998 1:46 am 
Jason ThorpeSep 2, 1998 2:52 am 
Doug RabsonSep 2, 1998 3:18 am 
Andrew GallatinSep 2, 1998 5:52 am 
Jason ThorpeSep 2, 1998 10:02 am 
Subject:Re: Alpha Install
From:Simon Shapiro (shi@simon-shapiro.org)
Date:Aug 28, 1998 9:45:05 pm
List:org.freebsd.freebsd-alpha

Matthew Jacob, On 29-Aug-98 you wrote:

On Sat, 29 Aug 1998, Simon Shapiro wrote:

Matthew Jacob, On 29-Aug-98 you wrote:

Oh, dear, that should work. I've not installed a FreeBSD alpha system so I can't check this. ispmbox.h isn't getting included.

I don't think that __FreeBSD__ must be getting defined in this case.

I added to the Makefile (in compile/... - ugly but config is not there yet), -D__FreeBSD__=3. This carries the day a bit further.

Also, dod I mention that /usr/share/mk/bsd/kern.mk is missing from NetBSD and the kernel's makefile sort of insists on it?

Under NetBSD this file lives in dev/ic, but under FreeBSD it's under dev/isp.

All the ifdefs are there, but the define is not.

What compiler are you using? If the NetBSD one, you'd better make some define changes 'coz the isp driver lives in both worlds (as well as others) and assumes the layouts as driven by correct defines!

It gets uglier than that. In pci/if_de.c there is a cure set of:

#ifdef __some_os__ #define YUCK "foo/bar.h" ... #endif

...

#include YUCK

This does not impress the NetBSD compiler one bit. It wuite downright offends the bugger. I ugnly-hacked it to be a bit more explicit.

I would have not started this, were I not been told to compile the FreeBSD kernel under NetBSD :-) As such, it may yet compile tonight.

Ifyou want access to that Alpha box, send me your vipw passwd line so I add you as a user to the machine, while I still have it.

Oh, thanks- I have plenty of Alphas, but I haven't made the time to switch to FreeBSD on one of them. I was spending all of today with one rebuild NetWorker/NetBSD/Alpha.

I'll look at it tomorrow.

Good. thanx!

While at it, the next breakages are:

* In alpha/alpha/clock.c some functions are missing prototypes.

* The make soon afterwards blows up in:

sh ../../kern/makedevops.sh -c ; cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -U__NetBSD__ -D__FreeBSD__=3 -mno-fp-regs -Wa,-mev56 `basename .m`.c usage: makedevops.sh [-c|-h] srcfile *** Error code 1

Looks like parsing the Makefile variable NORMAL_M is not successful.

The Makefile fragment I suspect is:

DRIVER_S= ${CC} -c -x assembler-with-cpp -DLOCORE ${COPTS} $< PROFILE_C= ${CC} -c ${CFLAGS} ${PARAM} $<

NORMAL_M= sh $S/kern/makedevops.sh -c $<;\ ${CC} -c ${CFLAGS} ${PROF} `basename $< .m`.c

# ${ALPHA}/alpha/setdef0.c and ${ALPHA}/alpha/setdef1.c are intentionally

BTW, what is $< ? Never noticed one of these...

Simon

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message