You need to add __SSNEXT=
to your environment file so that make will pick up the right compilation flags. Sherry On Wed, Nov 21, 2007 at 04:21:23AM -0800, Bhaskar Jayaraman wrote: > Hi thanks for your posts so far. Since what I had assumed was a 32 bit kernel > which I compiled didn't work, I religiously set out on compiling a 64 bit > version as my system is currently booted in 64 bit mode. > I installed SUNStudio12 on the system and set the SPRO_VROOT to point towards > it and when I do a make all in usr/src directory, I get the following error > when make cwds and runs in the i86pc/unix direcotry: - > > o/p on stderr: - > ... > ... > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_update_drreg: value 0xfffffffffb821ab8 does not > fit > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_memrange_add: value 0xfffffffffb821b18 does not > fit > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_memranges: value 0xfffffffffbc30be0 does not fit > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_memranges: value 0xfffffffffbc30be8 does not fit > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_idt_switch: value 0xfffffffffb821b68 does not fi > t > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_activate: value 0xfffffffffb821c18 does not fit > ld: fatal: relocation error: R_AMD64_32: file ./obj64/unix.o: symbol > kdi_deactivate: value 0xfffffffffb821d68 does not fi > t > make: Fatal error: Command failed for target `obj64/unix' > Current working directory /export/path/to/workspace/usr/src/uts/i86pc/unix > make: Fatal error: Command failed for target `all.obj64' > Current working directory /export/path/to/workspace/usr/src/uts/i86pc/unix > make: Fatal error: Command failed for target `unix' > Current working directory /export/path/to/workspace/usr/src/uts/i86pc > make: Fatal error: Command failed for target `i86pc' > Current working directory /export/path/to/workspace/usr/src/uts > make: Fatal error: Command failed for target `uts' > > o/p on stdout: - > .. > .. > .. > /export/path/to/workspace/usr/src/uts/i86pc/cpu/scripts > /export/path/to/workspace/usr/src/uts/i86pc/genassym > /export/path/to/workspace/usr/src/uts/i86pc/unix > /export/path/to/workspace/usr/src/uts/intel/genunix > /export/path/to/workspace/usr/src/uts/intel/ip > `obj64/ipctf.a' is up to date. > /export/path/to/workspace/usr/src/uts/intel/genunix > /export/path/to/workspace/usr/src/uts/i86pc/unix > /usr/ccs/bin/ld -dy -b -o obj64/unix -e dboot_image -znointerp -M > ../../i86pc/conf/Mapfile.amd64 \ > ./obj64/unix.o obj64/dboot.o ./obj64/modstubs.o -L > ../../intel/genunix/obj64 -l genunix \ > obj64/libdtracestubs.so > *** Error code 1 > *** Error code 1 > The following command caused the error: > BUILD_TYPE=OBJ64 VERSION='onnv-bugfixes' make all.targ > *** Error code 1 > The following command caused the error: > cd unix; pwd; make all > *** Error code 1 > The following command caused the error: > cd i86pc; pwd; make all > *** Error code 1 > The following command caused the error: > cd uts; pwd; make all > > Any help would be much appreciated. > > Thanks and regards, > Bhaskar. > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-code mailing list > opensolaris-code@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opensolaris-code -- Sherry Moore, Solaris Kernel Development http://blogs.sun.com/sherrym _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code