James Cook wrote:
> $ uname -a
> FreeBSD glider 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Dec 11 13:40:40 
> PST 2007     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLIDER  i386
> 
> The problem:
> - Install games/freebsd-games
> - run hack
> - Say "y" when it asks if you're experienced.
> - Type "T" for tourist.
> There will be a bus error.
> 
> This seems to be caused by line 170 of hack.u_init.c, which attempts to
> modify a string constant.
> 
> SOLUTION:
> Add -fwritable-strings to CFLAGS in hack's Makefile.  (There's already
> a patch that changes that line of the Makefile, so this is easy to
> change.)

the -fwritable-strings option has been deprecated on GCC 3.x and has
removed on GCC 4.x.

A code modernization is likely to be needed.

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to