The mips chip will not understand the x86 assembly in mpi/mpi_x86.s. You will have to get some appropriate mips asm. The IRIX code is there, but of course that is big-endian mips, so I'm not sure how similar that will be.
There is also mips stuff in NEC4.2.mk and ReliantUNIX.mk, you might like to follow them. Hope this helps, Nick > -----Original Message----- > From: Paul Pietromonaco > [mailto:[EMAIL PROTECTED] > Sent: Friday, 21 March 2003 10:46 > To: [EMAIL PROTECTED] > Subject: NSS for Mozilla 1.3 for PlayStation 2 Linux > > > Hi everyone, > > I've been working on the port of Mozilla 1.3 to PlayStation 2 Linux. > The port has come along quite nicely, but I think I'm having problems > compiling NSS. > > I posted a question about this on the netscape.public.mozilla.unix > forum, and the suggestion was that I should contact this forum. So, here > I am! :) > > I think the main issue is the MIPS processor that the PlayStation 2 uses > is not recognized by security/coreconf/Linux.mk. The official > designation of the processor is a mipsEEel - mips Emotion Engine little > endian. However, it should be fairly compatible with MIPS little endian > code. > > When I set ac_add_options --enable-crypto in my mozconfig file, I get > the following output: > > gcc -o Linux2.2_x86_glibc_PTH_OPT.OBJ/mpi_x86.o -O2 -fPIC -DLINUX1_2 > -Di386 -D_XOPEN_SOURCE -DLIN > UX2_1 -D_X86_ -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE > -D_BSD_SOURCE -DHAVE_STRERROR -DX > P_UNIX -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_REENTRANT > -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMB > LY_SQUARE -DMP_ASSEMBLY_DIV_2DX1D -DMP_API_COMPATIBLE > -I/home/paulp/mozilla1.3/mozilla/dist/inclu > de -I../../../../dist/public/nss -I../../../../dist/private/nss > -I../../../../dist/include -I/ho > me/paulp/mozilla1.3/mozilla/dist/include/nspr > -I/home/paulp/mozilla1.3/mozilla/dist/include/dbm - > Impi -c mpi/mpi_x86.s > mpi/mpi_x86.s: Assembler messages: > mpi/mpi_x86.s:62: Error: unrecognized opcode `push %ebp' > mpi/mpi_x86.s:63: Error: unrecognized opcode `mov %esp,%ebp' > mpi/mpi_x86.s:64: Error: Bad expression > mpi/mpi_x86.s:64: Error: illegal operands `sub' > mpi/mpi_x86.s:65: Error: unrecognized opcode `push %edi' > mpi/mpi_x86.s:66: Error: unrecognized opcode `push %esi' > mpi/mpi_x86.s:67: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:68: Error: unrecognized opcode `movl $0,%ebx' > > So - what are the next steps I need to take? > > Any help you could give me would be greatly appreciated! > > Cheers, > Paul > > P.S. remove nospam. from my reply-to address to e-mail me directly. > > >
