Skip to content

make: don't know how to make dofmt.o #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Nov 11, 2009 · 4 comments
Closed

make: don't know how to make dofmt.o #41

gopherbot opened this issue Nov 11, 2009 · 4 comments

Comments

@gopherbot
Copy link
Contributor

by nickthepreserver:

What steps will reproduce the problem?
1. Pull source from repo
2. Set environment variables
3. Run all.bash

What is the expected output? What do you see instead?
What I am expecting is a successful build, but what I'm receiving is this
error:

rm -f *.o *.6 6.out lib9.a
rm -f bbuffered.o bfildes.o bflush.o bgetc.o bgetrune.o bgetd.o binit.o
boffset.o bprint.o bputc.o bputrune.o brdline.o brdstr.o bread.o bseek.o
bwrite.o *.6 6.out libbio.a
rm -f *.o *.so
rm -f *.o libmach.a
rm -f *.o *.6 enam.c 6.out a.out y.tab.h y.tab.c cc.ao
rm -f *.o 6l *.6 enam.c 6.out a.out
rm -f *.o 6a *.6 enam.c 6.out a.out y.tab.h y.tab.c
rm -f *.o 6c *.6 enam.c 6.out a.out
rm -f *.o 8l *.8 enam.c 8.out a.out
rm -f *.o 8a *.6 enam.c 6.out a.out y.tab.h y.tab.c
rm -f *.o 8c *.8 8.out a.out
rm -f *.o 8g *.8 enam.c 8.out a.out
rm -f *.o 5l *.5 enam.c 5.out a.out
rm -f *.o 5a *.5 enam.c 5.out a.out y.tab.h y.tab.c
rm -f *.o 5c *.5 enam.c 5.out a.out
rm -f *.o 5g *.5 enam.c 5.out a.out
rm -f *.[568o] enam.c [568].out a.out y.tab.h y.tab.c gc.ao mkbuiltin1
builtin.c _builtin.c
rm -f 6g enam.c 6.out a.out *.o *.6
rm -f *.o gopack
rm -f *.o 6nm
rm -f *.[568vq] cgo 
rm -f *.o 6cov
rm -f *.[568vq] ebnflint 
rm -f *.o godefs
rm -f *.[568vq] godoc 
rm -f *.[568vq] gofmt 
rm -f *.[568vq] goyacc 
rm -f *.[568vq] hgpatch 
rm -f *.o 6prof
rm -rf *.[568vqo] *.a [568vq].out *.cgo[12].go *.cgo[34].c *.so _obj _test
_testmain.go pi fib
rm -rf *.[568vqo] *.a [568vq].out *.cgo[12].go *.cgo[34].c *.so _obj _test
_testmain.go hello fib chain run.out


%%%% making lib9 %%%%

gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c _p9dir.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c _exits.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c argv0.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c atoi.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c await.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c cleanname.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c create.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c dirfstat.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c dirfwstat.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c dirstat.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c dirwstat.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c dup.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c errstr.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c exec.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c execl.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c exitcode.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c exits.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c getenv.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c getfields.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c getuser.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c jmp.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c getwd.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c main.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c nan.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c notify.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c nulldir.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c open.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c pipe.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c readn.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c rfork.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c seek.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c strecpy.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c sysfatal.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c tokenize.c
gcc -ggdb -I/home/nik/go/include -O2 -fno-inline  -c time.c
make: make: don't know how to make dofmt.o. Stop in /home/nik/go/src/lib9.


What is your $GOOS?  $GOARCH?
merope% export|grep GO
GOARCH=386
GOBIN=/home/nik/lbin
GOOS=nacl
GOROOT=/home/nik/go


Which revision are you sync'ed to?  (hg log -l 1)
merope% hg log -l 1
changeset:   3975:b51fd2d6c160
tag:         tip
user:        Kevin Ballard <kevin@sb.org>
date:        Tue Nov 10 20:05:24 2009 -0800
summary:     Implement new emacs command M-x gofmt


Please provide any additional information below.
@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 2:

Owner changed to r...@golang.org.

Status changed to Started.

@rsc
Copy link
Contributor

rsc commented Nov 11, 2009

Comment 3:

What is the output of:
make --version
?
The top of lib9/Makefile says to include ../Make.conf,
which sets
CC=quietgcc
CFLAGS=-ggdb -I$(GOROOT)/include -O2 -fno-inline
The commands being run are using $(CFLAGS) but not $(CC),
which is hard to explain.
I suspect this is related to the fact that make is not finding
this rule from the Makefile:
%.$O: fmt/%.c
    $(CC) -c $(CFLAGS) -DPLAN9PORT -Ifmt $<

Status changed to WaitingForReply.

@rsc
Copy link
Contributor

rsc commented Dec 16, 2009

Comment 4:

Status changed to TimedOut.

@gopherbot
Copy link
Contributor Author

Comment 5:

CL https://golang.org/cl/130560044 mentions this issue.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants