eshad / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
Other
0 stars 0 forks source link

Unable to build v10 posix64 #257

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. hg up -r v10
2. scons PLATFORM=posix64

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

$ scons PLATFORM=posix64

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
........
gcc -o src/platform/posix64/build/vm/pmstdlib_nat.o -c -Wall 
-Wstrict-prototypes -Werror -ggdb -D__DEBUG__=1 -Isrc/vm 
-Isrc/platform/posix64/build src/platform/posix64/build/vm/pmstdlib_nat.c
cc1: warnings being treated as errors
src/platform/posix64/build/vm/pmstdlib_nat.c: In function 'nat_20___bi_Co':
src/platform/posix64/build/vm/pmstdlib_nat.c:992: warning: implicit declaration 
of function 'obj_loadFromImgObj'
src/platform/posix64/build/vm/pmstdlib_nat.c: In function 'nat_31_string_atoi':
src/platform/posix64/build/vm/pmstdlib_nat.c:1382: warning: comparison between 
pointer and integer
src/platform/posix64/build/vm/pmstdlib_nat.c: In function 'nat_34_ipm__getImg':
src/platform/posix64/build/vm/pmstdlib_nat.c:1549: error: 'pPmCodeImgObj_t' 
undeclared (first use in this function)
src/platform/posix64/build/vm/pmstdlib_nat.c:1549: error: (Each undeclared 
identifier is reported only once
src/platform/posix64/build/vm/pmstdlib_nat.c:1549: error: for each function it 
appears in.)
src/platform/posix64/build/vm/pmstdlib_nat.c:1549: error: expected ';' before 
'pimg'
src/platform/posix64/build/vm/pmstdlib_nat.c:1573: error: 'PmCodeImgObj_t' 
undeclared (first use in this function)
src/platform/posix64/build/vm/pmstdlib_nat.c:1575: error: 'pimg' undeclared 
(first use in this function)
src/platform/posix64/build/vm/pmstdlib_nat.c:1575: error: expected ';' before 
'pchunk'
scons: *** [src/platform/posix64/build/vm/pmstdlib_nat.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?

Linux x86_64

Original issue reported on code.google.com by lan4...@gmail.com on 22 Apr 2014 at 4:23

GoogleCodeExporter commented 9 years ago
"pmstdlib_nat.c" is first used in "src/vm/pmstdlib_nat.c", but not defined 
anywhere.

Original comment by lan4...@gmail.com on 22 Apr 2014 at 4:29