jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

"make all copy" fails while building jsobjex #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SVN, checked out r1803.
Operating System: Ubuntu Linux (8.04) x86_32
Went through the instructions described here:
http://code.google.com/p/jslibs/wiki/jslibsBuild
And installed all the 'tools' (minus gcc4.1-multilib)

gcc -c -Wall -O3 -s -funroll-loops -fpic -m32 -fno-exceptions -fno-rtti
-felide-constructors    -I../../libs/js/src/Linux_All_OPT.OBJ
-I../../libs/js/src  -o objex.o objex.cpp
In file included from stdafx.h:12,
                 from objex.cpp:1:
../common/jsHelper.h:175:1: warning: multi-line comment
In file included from ../common/jsConfiguration.h:19,
                 from stdafx.h:14,
                 from objex.cpp:1:
../common/../common/jsHelper.h:175:1: warning: multi-line comment
objex.cpp: In function ‘JSBool Aux(JSContext*, uintN, jsval*)’:
objex.cpp:120: error: ‘argv’ was not declared in this scope
../common/jsClass.h: At global scope:
../common/jsClass.h:140: warning: ‘JSBool RemoveClass(JSContext*,
JSClass*)’ defined but not used
make[1]: *** [objex.o] Error 1
make[1]: Leaving directory `/home/rummik/Data/jslibs/src/jsobjex'
make: *** [src/jsobjex] Error 2

Original issue reported on code.google.com by llab...@gmail.com on 25 Jul 2008 at 8:40

GoogleCodeExporter commented 9 years ago
Almost forgot, I would've used the other "make all fails" issue thread (
http://code.google.com/p/jslibs/issues/detail?id=32&q=label:Priority-Medium ),
however it seems their problems are x86_64 related, so starting a new thread 
seemed
like the best idea.

Original comment by llab...@gmail.com on 25 Jul 2008 at 8:47

GoogleCodeExporter commented 9 years ago
Of course, a new thread was the good choice.
Thanks for reporting the issue, I am working on the fix.

Original comment by sou...@gmail.com on 31 Jul 2008 at 9:16

GoogleCodeExporter commented 9 years ago
I have updated to the last version of jslibs.
make all copy
and everything compiles fine on my Debian 32bit.

Can you update your local copy, "make clean", and "make all copy"

Original comment by sou...@gmail.com on 31 Jul 2008 at 10:12

GoogleCodeExporter commented 9 years ago
I'm getting this same error in the same place again in Debian 32bit. 

Original comment by therethi...@gmail.com on 20 Oct 2008 at 10:14

GoogleCodeExporter commented 9 years ago
The above error has already been fixed some times ago.
Are you using latest SVN version ?
Can you past the exact error ?

Original comment by sou...@gmail.com on 21 Oct 2008 at 9:02

GoogleCodeExporter commented 9 years ago
Sorry for my absolutely unhelpful bugreport, I incorrectly assumed it was the 
same
problem. Yes, I'm using the latest SVN. I also tried the one prior, and 2030.

gcc -c -Wall -O3 -s -funroll-loops -m32 -fno-exceptions -fno-rtti
-felide-constructors    -I../../libs/js/opt -I../../libs/js/src  -o host.o 
host.cpp
In file included from host.cpp:27:
../common/jsHelper.h:908:1: warning: multi-line comment
../common/jsHelper.h:931:1: warning: multi-line comment
../common/jsHelper.h:950:1: warning: multi-line comment
../common/jsHelper.h:969:1: warning: multi-line comment
../common/jsHelper.h:984:1: warning: multi-line comment
../common/jsHelper.h:988:1: warning: multi-line comment
../common/jsHelper.h:1019:1: warning: multi-line comment
In file included from ../common/jsConfiguration.h:19,
                 from host.cpp:29:
../common/../common/jsHelper.h:908:1: warning: multi-line comment
../common/../common/jsHelper.h:931:1: warning: multi-line comment
../common/../common/jsHelper.h:950:1: warning: multi-line comment
../common/../common/jsHelper.h:969:1: warning: multi-line comment
../common/../common/jsHelper.h:984:1: warning: multi-line comment
../common/../common/jsHelper.h:988:1: warning: multi-line comment
../common/../common/jsHelper.h:1019:1: warning: multi-line comment
In file included from ../jslang/stdafx.h:14,
                 from ../jslang/jslang.h:15,
                 from host.cpp:32:
../jslang/../common/jsHelper.h:908:1: warning: multi-line comment
../jslang/../common/jsHelper.h:931:1: warning: multi-line comment
../jslang/../common/jsHelper.h:950:1: warning: multi-line comment
../jslang/../common/jsHelper.h:969:1: warning: multi-line comment
../jslang/../common/jsHelper.h:984:1: warning: multi-line comment
../jslang/../common/jsHelper.h:988:1: warning: multi-line comment
../jslang/../common/jsHelper.h:1019:1: warning: multi-line comment
In file included from host.cpp:27:
../common/jsHelper.h: In function ‘JSClass* GetGlobalClassByName(JSContext*, 
const
char*)’:
../common/jsHelper.h:485: error: ‘struct JSFunction::<anonymous 
union>::<anonymous>’
has no member named ‘clasp’
host.cpp: At global scope:
host.cpp:54: warning: ‘_pUnsafeMode’ initialized and declared ‘extern’
../common/errors.h:33: warning: ‘JSBool J_ReportError(JSContext*, 
J_ErrNum)’ defined
but not used
../jslang/../common/jsClass.h:181: warning: ‘JSBool RemoveClass(JSContext*,
JSClass*)’ defined but not used
make[2]: *** [host.o] Error 1
make[2]: Leaving directory `/tmp/jslibs-read-only/src/host'
make[1]: *** [../host/Makefile] Error 2
make[1]: Leaving directory `/tmp/jslibs-read-only/src/jshost'
make: *** [src/jshost] Error 2

Original comment by therethi...@gmail.com on 21 Oct 2008 at 10:54

GoogleCodeExporter commented 9 years ago
No problem.
I have updated TraceMonkey yesterday and I have updated the code of
GetGlobalClassByName().
Try to update jslibs (the latest revision is r2077), and do: make clean all copy
The build works on my Debian box.

Original comment by sou...@gmail.com on 21 Oct 2008 at 11:10

GoogleCodeExporter commented 9 years ago
Great, thanks. I'm really excited to start using this!

Original comment by therethi...@gmail.com on 22 Oct 2008 at 12:35

GoogleCodeExporter commented 9 years ago
Remember to look at the "SVN revision status" section of the main page
(http://jslibs.googlecode.com/)

Original comment by sou...@gmail.com on 2 Dec 2008 at 12:57