🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by gerry wiener Tue, 24 Jan 1989 07:54
problem with make3.27 on a sun3
#1464
Author: gerry wiener
Date: Tue, 24 Jan 1989 07:54
97 lines
2485 bytes
Included are some simple files that illustrate some problems with
make3.27 on a sun3.  A subdirectory called junk has been created which
contains the files foo.c and foo.o (foo.o can be created by hand).  The
following commands have been executed in the directory above junk:

gust:gerry:1>ls junk
foo.c	foo.o
gust:gerry:2>make3.27 -f jmakefile foo
Abort (core dumped)
gust:gerry:3>make3.05 -f jmakefile foo
make: `foo' is up to date.
gust:gerry:4>rm foo
gust:gerry:5>make3.05 -f jmakefile foo
cc -o foo foo.o
ld: foo.o: No such file or directory
make: *** Error 4
gust:gerry:6>make3.27 -f jmakefile foo
Abort (core dumped)
gust:gerry:7>make3.05 -f jjmakefile foo
cc -o foo /home/gerry/junk/foo.o
gust:gerry:8>rm foo
gust:gerry:9>make3.27 -f jjmakefile foo
Abort (core dumped)
gust:gerry:10>make3.27 -f kkmakefile foo
cc -o foo /home/gerry/junk/foo.o
gust:gerry:11>rm foo
gust:gerry:12>make3.27 -f kmakefile foo
cc -o foo foo.o
ld: foo.o: No such file or directory
make3.27: *** Error 4



#	This is a shell archive.
#	Remove everything above and including the cut line.
#	Then run the rest of the file through sh.
#----cut here-----cut here-----cut here-----cut here----#
#!/bin/sh
# shar:	Shell Archiver
#	Run the following text with /bin/sh to create:
#	jmakefile
#	jjmakefile
#	kmakefile
#	kkmakefile
#	junk
# This archive created: Tue Jan 24 00:44:09 1989
cat << \SHAR_EOF > jmakefile
VPATH= /home/gerry/junk:

foo: foo.o
	cc -o foo foo.o

foo.o: 	foo.c


SHAR_EOF
cat << \SHAR_EOF > jjmakefile
VPATH= /home/gerry/junk:
sdir=/home/gerry/junk
foo: $(sdir)/foo.o
	cc -o foo $(sdir)/foo.o

$(sdir)/foo.o: 	foo.c


SHAR_EOF
cat << \SHAR_EOF > kmakefile
VPATH= /home/gerry/junk:

foo: foo.o
	cc -o foo foo.o

#foo.o: 	foo.c


SHAR_EOF
cat << \SHAR_EOF > kkmakefile
VPATH= /home/gerry/junk:
sdir=/home/gerry/junk
foo: $(sdir)/foo.o
	cc -o foo $(sdir)/foo.o

#$(sdir)/foo.o: 	foo.c


SHAR_EOF
mkdir junk
cd junk
cat << \SHAR_EOF > foo.c
main()
{
  printf("hello\n");
}
SHAR_EOF
cd ..
#	End of shell archive
exit 0
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads