[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile problems with ENOSYS, buffer.c (tar_1.13 on NeXT 3.3)
From: |
Mark Tapley |
Subject: |
Compile problems with ENOSYS, buffer.c (tar_1.13 on NeXT 3.3) |
Date: |
Wed, 11 Apr 2001 16:47:52 -0600 |
To whom it may concern:
I'm having problems installing Gnu tar on my NeXT. If you guys aren't
the proper ones to inform, please let me know who is.
Using: tar_1.13, downloaded from unc archive. (is this the latest?)
Running on: NeXT m68k (040 cube, 25 MHz) under NeXTStep 3.3 with Y2K patches
Problem: "make" fails, saying:
...
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2 -c strtoull.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2 -c fnmatch.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2 -c lchown.c
lchown.c: In function `lchown':
lchown.c:44: `ENOMSG' undeclared (first use this function)
lchown.c:44: (Each undeclared identifier is reported only once
lchown.c:44: for each function it appears in.)
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
Searching for "enomsg" in the NeXT Developer Bookshelf points to file
bsd/sys/errno.h, where I find the following code:
#ifdef _POSIX_SOURCE
#define ENOSYS 87 /* Function not implemented. */
#endif /* _POSIX_SOURCE */
I tried
make clean
make distclean
setenv POSIXLY_CORRECT
./configure
make
with the same results.
I went back to the tar directory, and edited /lib/lchown.h to include
#define ENOSYS 87
as its first line (had to change permissions)
and then did
make
and the compile continued from the point where it had left off.
I don't suppose this is the recommended fix.
Then later on, I hit this compile bug:
...
Making all in src
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.. -I../intl
-I../lib -g -O2 -c arith.c
cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.. -I../intl
-I../lib -g -O2 -c buffer.c
buffer.c: In function `close_archive':
buffer.c:1441: warning: passing arg 1 of `wait' from incompatible pointer type
buffer.c:1447: request for member `w_S' in something not a structure or union
buffer.c:1447: request for member `w_T' in something not a structure or union
buffer.c: In function `new_volume':
buffer.c:1662: warning: passing arg 1 of `wait' from incompatible pointer type
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
at which point I gave up. Hope this is slightly helpful, email if you want me
to try anything else or if you want an account on the NeXT to play with it.
- Mark
- Compile problems with ENOSYS, buffer.c (tar_1.13 on NeXT 3.3),
Mark Tapley <=