Date: Mon, 11 Oct 2004 19:38:21 +1000 From: Michael Vince <mv@roq.com> To: trorki@area51.capnet.state.tx.us, freebsd-amd64@freebsd.org Subject: Re: i386 compat Message-ID: <416A548D.10206@roq.com> In-Reply-To: <20041010233036.F12981@area51.capnet.state.tx.us> References: <4169E68D.9070102@cisnet.com> <20041010233036.F12981@area51.capnet.state.tx.us>
next in thread | previous in thread | raw e-mail | index | archive | help
Does this actually work for any one? I tried it and it craps out I am on FreeBSD 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Mon Oct 11 09:57:29 EST 2004 michael@:/usr/obj/usr/src/sys/GENERIC amd64 I really wanted to get java / openoffice going so I followed the instructions http://people.freebsd.org/~tjr/linux32.html to run linux java but it doesn't work properly.. I ran 1 java program as a regular user and it pulled the whole pc down to need a cold reboot. So I am about ready to put on 32bit FreeBSD, the fun is over :) # pwd /usr/src # /usr/src/tools/lib32/build32.sh mkdir: /lib32: File exists mkdir: /usr/lib32: File exists mkdir: /usr/local/lib32: File exists mkdir: /usr/X11R6/lib32: File exists chflags: /tmp/i386: No such file or directory "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 Stop in /usr/src. ** edit: HAVE_TCGETATTR 1 ** edit: HAVE_TERMIOS_H 1 ** edit: HAVE_TERMIO_H 0 ** edit: BROKEN_LINKER 0 "Makefile.inc1", line 97: MAKEOBJDIRPREFIX can only be set in environment, not as a global (in /etc/make.conf) or command-line variable. *** Error code 1 (continuing) /usr/bin/ld: skipping incompatible /usr/lib/libgcc_pic.a when searching for -lgcc_pic /usr/bin/ld: cannot find -lgcc_pic *** Error code 1 Stop in /usr/src/gnu/lib/libregex. In file included from /usr/src/libexec/rtld-elf/i386/reloc.c:36: /usr/include/machine/segments.h:89: error: width of `sd_hibase' exceeds its type /usr/include/machine/segments.h:107: error: width of `gd_hioffset' exceeds its type /usr/include/machine/segments.h:160: error: width of `rd_base' exceeds its type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `do_copy_relocations': /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: `R_386_COPY' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: (Each undeclared identifier is reported only once /usr/src/libexec/rtld-elf/i386/reloc.c:69: error: for each function it appears in.) /usr/src/libexec/rtld-elf/i386/reloc.c:80: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_non_plt': /usr/src/libexec/rtld-elf/i386/reloc.c:137: error: `R_386_NONE' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:140: error: `R_386_32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:145: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:154: error: `R_386_PC32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:164: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:175: error: `R_386_COPY' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:189: error: `R_386_GLOB_DAT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:194: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:203: error: `R_386_RELATIVE' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:207: error: `R_386_TLS_TPOFF' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:212: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:237: error: `R_386_TLS_DTPMOD32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:242: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c:251: error: `R_386_TLS_DTPOFF32' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:256: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_plt': /usr/src/libexec/rtld-elf/i386/reloc.c:290: error: `R_386_JMP_SLOT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c: In function `reloc_jmpslots': /usr/src/libexec/rtld-elf/i386/reloc.c:314: error: `R_386_JMP_SLOT' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:316: warning: right shift count >= width of type /usr/src/libexec/rtld-elf/i386/reloc.c: In function `allocate_initial_tls': /usr/src/libexec/rtld-elf/i386/reloc.c:330: error: storage size of 'ldt' isn't known /usr/src/libexec/rtld-elf/i386/reloc.c:351: warning: implicit declaration of function `i386_set_ldt' /usr/src/libexec/rtld-elf/i386/reloc.c:351: error: `LDT_AUTO_ALLOC' undeclared (first use in this function) /usr/src/libexec/rtld-elf/i386/reloc.c:330: warning: unused variable `ldt' *** Error code 1 Stop in /usr/src/libexec/rtld-elf. chflags: /usr/libexec/ld-elf32.so.1: No such file or directory *** Error code 1 (ignored) install: ld-elf32.so.1: No such file or directory *** Error code 71 Stop in /usr/src/libexec/rtld-elf. trorki@area51.capnet.state.tx.us wrote: >On Sun, 10 Oct 2004, Hermit wrote: > > > >>I'm new to FreeBSD. 5.2.1 amd64 is >>listed as 'supported' for a commerical >>package I need to run. I try to install >>mysql40-server, and other things for >>that matter, and the system complains >>that the package is for i386 machines. >>How do I get around this? I've spent >>hours and finally found this in the >>archives: >> >> > > > >>You need to run >>/usr/src/tools/lib32/build32.sh with cwd >>set to /usr/src >>to build the 32-bit loader & basic >>libraries. >> >> > > > >>Is this my answer? What is 'cwd set to >>/usr/src mean? >> >> > >"current working directory", as in > >% cd /usr/src > > >trorki > >_______________________________________________ >freebsd-amd64@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 >To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416A548D.10206>