You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. $ ./all.bash
2.
3.
What is the expected output? What do you see instead?
expected:
--- cd ../test
N known bugs; 0 unexpected bugs
what I got:
gopack grc _obj/runtime.a _go_.8 asm.8 cgocall.8 chan.8 closure.8 float.8
hashma
p.8 iface.8 malloc.8 mcache.8 mcentral.8 mem.8 mfixalloc.8 mgc0.8 mheap.8
mheapm
ap32.8 msize.8 print.8 proc.8 reflect.8 rune.8 runtime.8 rt0.8 sema.8
signal.8 s
lice.8 string.8 symtab.8 sys.8 thread.8 traceback.8 vlop.8 vlrt.8
make[1]: *** [/home/Peter/golang-on-cygwin/pkg/linux_386/runtime.a] Error 1
rm reflect.c string.c sema.c malloc.c
make[1]: Leaving directory `/home/Peter/golang-on-cygwin/src/pkg/runtime'
make: *** [runtime.install] Error 2
What version of the product are you using? On what operating system?
Windows XP
Please provide any additional information below.
gcc, make, and bison installed, and running correctly (I think.)
Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 8:58
The text was updated successfully, but these errors were encountered:
I did the above
mkdir -p $GOROOT/pkg
it created a pkg dir in repo but now it gives the error as below
%%%% making libcgo %%%%
gcc -m32 -O2 -fPIC -o linux_386.o -c linux_386.c
gcc -m32 -O2 -fPIC -o 386.o -c 386.S
gcc -m32 -O2 -fPIC -o util.o -c util.c
linux_386.c:1:0: warning: -fPIC ignored for target (all code is position
independent)
386.S:1:0: warning: -fPIC ignored for target (all code is position independent)
util.c:1:0: warning: -fPIC ignored for target (all code is position independent)
gcc -m32 -shared -lpthread -lm -o libcgo.so linux_386.o 386.o util.o
Cannot export crosscall_386: symbol not defined
linux_386.o:linux_386.c:(.text+0x4c): undefined reference to `_crosscall_386'
collect2: ld returned 1 exit status
Makefile:27: recipe for target `libcgo.so' failed
make: *** [libcgo.so] Error 1
Original issue reported on code.google.com by
[email protected]
on 19 Apr 2010 at 8:58The text was updated successfully, but these errors were encountered: