NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/47464
The following reply was made to PR port-macppc/47464; it has been noted by GNATS.
From: Christian Groessler <chris%groessler.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, port-macppc-maintainer%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-macppc/47464
Date: Thu, 12 Jan 2017 14:25:21 +0100
On 01/10/17 19:40, David Holland wrote:
> Since both binaries show a similar problem it's probably sufficient to
> test 3.1.1.
I've installed 3.1 since I couldn't find a 3.1.1 iso image.
But there is a problem. If I compile the program on 3.1 it doesn't run
on -current.
You can get the program from
ftp://ftp.groessler.org./pub/chris/olivetti_m20/imgtools/m20floppy-0.61.tar.gz
.
Set CFLAGS in the Makefile for NetBSD/ppc like this:
CFLAGS = -O2 -DUNIX -DNETBSD -D__32BIT__ -DCPG_BIG_ENDIAN -Wall
-Wstrict-prototypes
--- on 3.1 ---
$ uname -a
NetBSD power3 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 05:09:13 UTC 2006
builds%b1.netbsd.org@localhost:/home/builds/ab/netbsd-3-1-RELEASE/macppc/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/macppc/compile/GENERIC
macppc
$ pwd
/usr/chris/tmp/m20floppy-0.61
$ make
....
$ ./m20
m20 v0.61
Copyright 2000,2001,2004,2006 Christian Groessler <chris%groessler.org@localhost>
usage: ./m20 <image file> <option>
option can be one of
ls - list files on image
lsl - verbosely list files on image
cat - show file from image
get - get file from image
mget - get multiple files from image
put - put file onto image
mput - put multiple files onto image
rm - delete files from image
new - create a new empty image
version - display program version
$ scp m20 muc-twinppc:/tmp
----------
running it on "muc-twinppc" (the -current system):
--- -current ----
[muc-twinppc:/tmp]$ uname -a
NetBSD muc-twinppc 7.99.53 NetBSD 7.99.53 (TWINPPC.MP) #0: Sat Dec 31
09:13:19 CET 2016
chris@muc-twinppc:/local/netbsd-src/obj/sys/arch/macppc/compile/TWINPPC.MP
macppc
[muc-twinppc:/tmp]$ ./m20
Undefined symbol "_SDA_BASE_" referenced from COPY relocation in ./m20
[muc-twinppc:/tmp]$
------------------
regards,
chris
Home |
Main Index |
Thread Index |
Old Index