From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 15 11:24:46 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3880916A4CE for ; Fri, 15 Oct 2004 11:24:46 +0000 (GMT) Received: from mail.cisnet.com (mail.cisnet.com [68.22.80.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B073743D31 for ; Fri, 15 Oct 2004 11:24:45 +0000 (GMT) (envelope-from klowther@cisnet.com) Received: from [68.254.204.58] (unverified [68.254.204.58]) by mail.cisnet.com (Vircom SMTPRS 4.5.186) with ESMTP id ; Fri, 15 Oct 2004 07:24:44 -0400 Message-ID: <416FB37B.5000908@cisnet.com> Date: Fri, 15 Oct 2004 07:24:43 -0400 From: Hermit User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040807) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Vince References: <4169E68D.9070102@cisnet.com> <20041010233036.F12981@area51.capnet.state.tx.us> <416A548D.10206@roq.com> In-Reply-To: <416A548D.10206@roq.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-amd64@freebsd.org Subject: Re: i386 compat X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 11:24:46 -0000 Michael Vince wrote: > 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 :) I get : make I don't know how to make heirarch obj and that error starts repeating for other things... :( Ken > > # 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" >> >> > > _______________________________________________ > 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" >