9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* U9fs Compile Help?
@ 1994-03-08  2:09 Jerry
  0 siblings, 0 replies; only message in thread
From: Jerry @ 1994-03-08  2:09 UTC (permalink / raw)


Hi,
we've essentially got plan9 right out of the box (not a lot of
kernel changes). Anyway, while trying to compile u9fs on an hp-715
running hp-ux 9.01, the following error is displayed:
cc: "u9fs.c", line 50: error 1000: Unexpected symbol: "DIR".
cc: "u9fs.c", line 50: error 1573: Type of "dir" is undefined.
cc: "u9fs.c", line 50: error 1578: Size of member is unknown.
cc: "u9fs.c", line 67: error 1574: Unknown size for "stbuf".
cc: "u9fs.c", line 67: error 1578: Size of member is unknown.
cc: "u9fs.c", line 369: error 1000: Unexpected symbol: "int".
cc: "u9fs.c", line 368: error 1588: "DIR" undefined.
cc: "u9fs.c", line 368: error 1588: "dir" undefined.
cc: "u9fs.c", line 369: error 1588: "m" undefined.
cc: "u9fs.c", line 372: error 1558: The ! operator takes a scalar operand.
cc: "u9fs.c", line 369: error 1588: "trunc" undefined.
cc: "u9fs.c", line 376: error 1530: Undefined struct or union.
cc: "u9fs.c", line 376: error 1588: "S_IFCHR" undefined.
cc: "u9fs.c", line 376: error 1563: Expression in if must be scalar.
cc: "u9fs.c", line 380: error 1567: Switch expression must be an integral type.
cc: "u9fs.c", line 401: warning 563: Argument #1 is not the correct type.

The source has been updated with some changes Rob Pike sent out last 
August(?), and is otherwise unchanged. Here is the modified makefile:
CFLAGS=-N -I. -I/usr/include -I/usr/include/sys -Aa  -DBIGEND -DSYSV -DNEEDPROTO -DLOG='"/tmp/u9fs.log"'

u9fs:	u9fs.o conv.o memmove.o mfmt.o 
	cc -o u9fs u9fs.o conv.o memmove.o mfmt.o -lbsd

%.o:	%.c  u.h libc.h 9p.h 
	cc -c $(CFLAGS) $<

Any suggestions, please? Any "gotcha's" I should be aware of?
TIA. Cheers, --Jerry




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-03-08  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-03-08  2:09 U9fs Compile Help? Jerry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).