issues on ubuntu intrepid ibex amd64

13 views
Skip to first unread message

mariuz

unread,
Oct 13, 2008, 6:40:59 AM10/13/08
to wxJavaScript
I use the latest from download area and i get this error

/usr/bin/ld: cannot find -lgcc

Linking nspr
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/
libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/
libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
make[1]: *** [../../bin/Debug/libnspr.so] Error 1
make: *** [nspr] Error 2

mariuz

unread,
Oct 13, 2008, 7:29:42 AM10/13/08
to wxJavaScript
Ok i installed the 32bit libraries

$ sudo apt-get install libc6-dev-i386

but now the ld is confused

==== Building nspr ====
Linking nspr
/usr/bin/ld: i386:x86-64 architecture of input file `obj/Debug/
prgcleak.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `obj/Debug/
os_Linux_x86.o' is incompatible with i386 output


mariuz

unread,
Oct 13, 2008, 7:46:09 AM10/13/08
to wxJavaScript
I deleted all the m32 references in Makefiles
but seems that there are 64 bit errors


==== Building js ====
jsxml.c
In file included from jsxml.c:49:
jsbit.h:169: error: size of array ‘js_static_assert_line_169’ is
negative

Franky Braem

unread,
Oct 13, 2008, 8:45:06 AM10/13/08
to wxjava...@googlegroups.com
mariuz schreef:
I hope someone else can help you with this. I only have Windows XP
available to test. In the past I had an Ubuntu portable but that machine
crashed. I use premake to generate makefiles for different platforms but
I can't test them.

Franky.

mariuz

unread,
Oct 18, 2008, 6:04:28 AM10/18/08
to wxJavaScript
I will try to fix it myself , seems to be an define issue

Now i try to build it on an 32bit machine

>
> Franky.
Reply all
Reply to author
Forward
0 new messages