Skip to content
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

Compilation error #246

Closed
gopherbot opened this issue Nov 17, 2009 · 2 comments
Closed

Compilation error #246

gopherbot opened this issue Nov 17, 2009 · 2 comments

Comments

@gopherbot
Copy link

by vivaneon:

What is the expected output? What do you see instead?

--- cd ../misc/cgo/stdio
rm -rf *.[568vqo] *.a [568vq].out *.cgo[12].go *.cgo[34].c *.so _obj _test 
_testmain.go hello fib chain run.out
cgo  file.go
could not determine kind of name for C.CString
could not determine kind of name for C.puts
could not determine kind of name for C.fflushstdout
could not determine kind of name for C.free
failed to interpret gcc output:
cc1: warnings being treated as errors
cgo-test: In function ‘f’:
cgo-test:0: erreur: déclaration sans effet
cgo-test:1: erreur: déclaration sans effet
cgo-test:2: erreur: déclaration sans effet
cgo-test:3: erreur: déclaration sans effet

What is your $GOOS?  $GOARCH?

Linux and amd64

Which revision are you sync'ed to?  (hg log -l 1)

hg log -l 1 
changeset:   4015:cb140bac9ab0
tag:         tip
user:        Russ Cox <rsc@golang.org>
date:        Thu Nov 12 14:55:26 2009 -0800
summary:     test/run: unset GREP_OPTIONS


Please provide any additional information below.

Even if i get this compilation error, binaries have been compiled, but i 
thought some items are missing.
@rsc
Copy link
Contributor

rsc commented Nov 17, 2009

Comment 1:

I believe that if you run "hg pull -u" and rerun all.bash, 
this will be fixed.

Status changed to Duplicate.

Merged into issue #21.

@gopherbot
Copy link
Author

Comment 2 by vivaneon:

Effectively, an update fix the issue, but i juste had updated yesterday, so I did'nt 
think it could be that.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
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