Le Vendredi 3 Mars 2006 20:10, Christopher Nelson a écrit :
> I have made some very large updates to AWS2.

Hi

  I'm having problems building AWS2 on GNU/Linux, gcc 3.4.4.
But it's fine when cross-compiling for win32.
Thanks in advance.
-----

I know what's causing these errors.  First off, the itoa call is not really 
needed, I need to replace it with a csString.Format().
 
Second, you say you compiled this under GNU/Linux?  If so...


    g++ -c -o ./out/linuxx86/debug/plugins/aws2/script_manager.o -I.
-I./include -I./include -Wall -Wno-unknown-pragmas -pipe -march=i586
-I/usr/local/include -fno-exceptions -fvisibility-inlines-hidden
-fvisibility=hidden -g3 -DCS_DEBUG -DXP_WIN -fPIC 
plugins/aws2/script_manager.cpp
 
 
The -DXP_WIN should have been DXP_UNIX.  So I may have a bug in the jamfile 
there.  I'll have to look at that.

----

    gcc -c -o ./out/linuxx86/debug/plugins/aws2/js/jsapi.o -I. -I./include
-I./include -Wall -Wno-unknown-pragmas -pipe -march=i586 -I/usr/local/include
-g3 -DCS_DEBUG -DXP_UNIX -fPIC  plugins/aws2/js/jsapi.c
 

In file included from plugins/aws2/js/jsapi.c:48:
plugins/aws2/js/jstypes.h:226:71: jsautocfg.h: No such file or directory
plugins/aws2/js/jsapi.c: In function `JS_GetStringChars':
plugins/aws2/js/jsapi.c:3908: error: `JS_BITS_PER_BYTE' undeclared (first use
in this function)

--
 
This has the write define in place, but I cannibalized the Makefile to get all 
the defs I need, and then hacked apart the definitions files to make sure all 
the defines were in place.  This just means that I need to find out why 
"jsautocfg.h" is being included instead of "jscpucfg.h"  I thought that I had 
taken care of all of these areas, but apparently I haven't.  I will try to fix 
jstypes.h to make sure that it doesn't go looking for the jsautocfg.h file.
 
-={C}=-

 
 

<<winmail.dat>>

Reply via email to