Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2009 23:38:34 +0200
From:      Eitan Adler <eitanadlerlist@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   trouble porting dash shell (make errors)
Message-ID:  <a0777e080911071338k5d728c2ex637d3b9c62a05414@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--001485f1e64a7b83210477cec9a8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I tried the dash mailing list with no reply.
mksignames.c is attached.

Here is the output from ./configure && gmake

if gcc -DHAVE_CONFIG_H -I. -I. -I.. =A0-include ../config.h -DBSD=3D1
-DSHELL -DIFS_BROKEN =A0-Wall -g -O2 -MT nodes.o -MD -MP -MF
".deps/nodes.Tpo" -c -o nodes.o nodes.c; \
=A0 =A0 =A0 =A0then mv -f ".deps/nodes.Tpo" ".deps/nodes.Po"; else rm -f
".deps/nodes.Tpo"; exit 1; fi
gcc -include ../config.h -DBSD=3D1 -DSHELL -DIFS_BROKEN =A0-g -O2 -Wall
-o mksignames mksignames.c
./mksignames
gmake[3]: *** [signames.c] Segmentation fault: 11 (core dumped)
gmake[3]: *** Deleting file `signames.c'
gmake[3]: Leaving directory `/home/eitan/dash/dash-0.5.5.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/eitan/dash/dash-0.5.5.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/eitan/dash/dash-0.5.5.1'
gmake: *** [all] Error 2

--001485f1e64a7b83210477cec9a8
Content-Type: application/octet-stream; name="mksignames.c"
Content-Disposition: attachment; filename="mksignames.c"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g1qwd5r90

Lyogc2lnbmFtZXMuYyAtLSBDcmVhdGUgYW5kIHdyaXRlIGBzaWduYW1lcy5jJywgd2hpY2ggY29u
dGFpbnMgYW4gYXJyYXkgb2YKICAgc2lnbmFsIG5hbWVzLiAqLwoKLyogQ29weXJpZ2h0IChDKSAx
OT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pOwogICAgICBleGl0
ICgyKTsKICAgIH0KCiAgaW5pdGlhbGl6ZV9zaWduYW1lcyAoKTsKICB3cml0ZV9zaWduYW1lcyAo
c3RyZWFtKTsKICBleGl0ICgwKTsKfQo=
--001485f1e64a7b83210477cec9a8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0777e080911071338k5d728c2ex637d3b9c62a05414>