9front - general discussion about 9front
 help / color / mirror / Atom feed
* bug: ape/psh is broken
@ 2018-09-12 16:21 Nick Owens
  2018-09-12 16:28 ` Nick Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Owens @ 2018-09-12 16:21 UTC (permalink / raw)
  To: 9front

see below.

cpu% pwd
/sys/src/ape/cmd/pax
cpu% ape/psh
$ make
cc -O  -c pax.c
/sys/src/ape/cmd/pax/./pax.h:268[stdin:1872] name not declared: PATH_MAX
/sys/src/ape/cmd/pax/./pax.h:268[stdin:1872] array size must be a
positive constant
cc: cpp: 6c 2661303: error
*** Error code 1

Stop.
$  cpu% mk
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pax.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 append.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 buffer.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 cpio.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 create.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 extract.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 fileio.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 link.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 list.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 mem.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 namelist.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 names.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pass.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pathname.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 port.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 regexp.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 replace.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 tar.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 ttyio.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 warn.c
pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 wildmat.c
pcc  -o 6.out pax.6 append.6 buffer.6 cpio.6 create.6 extract.6
fileio.6 link.6 list.6 mem.6 namelist.6 names.6 pass.6 pathname.6
port.6 regexp.6 replace.6 tar.6 ttyio.6 warn.6 wildmat.6 -lv
name_next: undefined: seekdir in name_next
name_next: undefined: telldir in name_next
pcc: 6l: 6l 2661619: error
mk: pcc  -o ...  : exit status=rc 2661616: pcc 2661618: 6l: 6l 2661619: error


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug: ape/psh is broken
  2018-09-12 16:21 bug: ape/psh is broken Nick Owens
@ 2018-09-12 16:28 ` Nick Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Owens @ 2018-09-12 16:28 UTC (permalink / raw)
  To: 9front

correction: the subject of this mail should be "ape pax is broken".

apologies for any confusion.
On Wed, Sep 12, 2018 at 9:21 AM Nick Owens <mischief@offblast.org> wrote:
>
> see below.
>
> cpu% pwd
> /sys/src/ape/cmd/pax
> cpu% ape/psh
> $ make
> cc -O  -c pax.c
> /sys/src/ape/cmd/pax/./pax.h:268[stdin:1872] name not declared: PATH_MAX
> /sys/src/ape/cmd/pax/./pax.h:268[stdin:1872] array size must be a
> positive constant
> cc: cpp: 6c 2661303: error
> *** Error code 1
>
> Stop.
> $  cpu% mk
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pax.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 append.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 buffer.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 cpio.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 create.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 extract.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 fileio.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 link.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 list.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 mem.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 namelist.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 names.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pass.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 pathname.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 port.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 regexp.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 replace.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 tar.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 ttyio.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 warn.c
> pcc -c -D_POSIX_SOURCE -B -DPATH_MAX=1024 wildmat.c
> pcc  -o 6.out pax.6 append.6 buffer.6 cpio.6 create.6 extract.6
> fileio.6 link.6 list.6 mem.6 namelist.6 names.6 pass.6 pathname.6
> port.6 regexp.6 replace.6 tar.6 ttyio.6 warn.6 wildmat.6 -lv
> name_next: undefined: seekdir in name_next
> name_next: undefined: telldir in name_next
> pcc: 6l: 6l 2661619: error
> mk: pcc  -o ...  : exit status=rc 2661616: pcc 2661618: 6l: 6l 2661619: error


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-12 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-12 16:21 bug: ape/psh is broken Nick Owens
2018-09-12 16:28 ` Nick Owens

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).