all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Criveti Mihai <crivetimihai@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#2366: unexaix.c requires ADDR_CORRECT to build on AIX 5.3 using XL C 10.1
Date: Wed, 18 Feb 2009 01:24:38 +0200	[thread overview]
Message-ID: <900b86670902171524g5bec43cemeeb0b4858288c56b@mail.gmail.com> (raw)

diff unexaix.c.old unexaix.c
60a61,63
> #undef ADDR_CORRECT
> #define ADDR_CORRECT(x) ((int)(x))
>

This error is corrected with the patch above:

cmihai@phobos:/home/cmihai/packaging/emacs-cvs/emacs$ make
boot=bootstrap-emacs;                         \
       if [ -x "src/$boot" ]; then boot=""; fi;                   \
       cd lib-src; gmake all                            \
         CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I
/usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include'
CPPFLAGS='-ma -qmaxmem=4000  ' \
         LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib
-L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot"
gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/lib-src'
boot=bootstrap-emacs;                         \
       if [ -x "src/$boot" ]; then boot=""; fi;                   \
       cd src; gmake all                            \
         CC='xlc -q64' CFLAGS='-O3 -qnoansialias -brtl -bexpfull -I
/usr/local/ssl/include -I/usr/local/include -I/opt/freeware/include'
CPPFLAGS='-ma -qmaxmem=4000  ' \
         LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib
-L/opt/freeware/lib -bbigtoc' MAKE='gmake' BOOTSTRAPEMACS="$boot"
gmake[1]: Entering directory `/home/cmihai/packaging/emacs-cvs/emacs/src'
echo "dispnew.o frame.o scroll.o xdisp.o menu.o  window.o charset.o
coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o
xfaces.o    emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o
filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o
cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o
data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o font.o
print.o lread.o syntax.o unexaix.o bytecode.o process.o callproc.o
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o
textprop.o composite.o md5.o     terminfo.o lastfile.o gmalloc.o
ralloc.o vm-limit.o  mktime.o getloadavg.o "  > buildobj.lst
xlc -q64  -Wl,-bnodelcsect  -L/usr/local/ssl/lib -L/usr/local/lib
-L/opt/freeware/lib -bbigtoc \
          -o temacs  dispnew.o frame.o scroll.o xdisp.o menu.o
window.o charset.o coding.o category.o ccl.o character.o chartab.o
cm.o term.o terminal.o xfaces.o    emacs.o keyboard.o macros.o
keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o
fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o
search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o
eval.o floatfns.o fns.o font.o print.o lread.o syntax.o unexaix.o
bytecode.o process.o callproc.o region-cache.o sound.o atimer.o
doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o  mktime.o
getloadavg.o  \
                 -lrts -lIM -liconv -lbsd -lcurses   -lm
ld: 0711-317 ERROR: Undefined symbol: .ADDR_CORRECT
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[1]: *** [temacs] Error 8
gmake[1]: Leaving directory `/home/cmihai/packaging/emacs-cvs/emacs/src'
gmake: *** [src] Error 2

(Sorry if it's a duplicate, I didn't see my previous mail arrive or on
the list).


There are some other issues with
/home/cmihai/packaging/emacs-cvs/emacs/lisp/international/characters.el
and Japanese that keep it from building, but you can get over those
for the moment by skipping their build.

GNU Emacs 23.0.90.1 (powerpc-ibm-aix5.3.0.0) of 2009-02-18 on phobos

-- 
Mihai Criveti







         reply	other threads:[~2009-02-17 23:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200902180849.n1I8n6xq021900@rodan.ics.uci.edu>
2009-02-17 15:48 ` bug#2359: Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached Criveti Mihai
2009-02-18  8:55   ` bug#2359: marked as done (Emacs fails to compile on AIX 5.3 with XL C 10.1, due to missing #define ADDR_CORRECT in unexaix.c; patch attached) Emacs bug Tracking System
2009-02-17 23:24 ` Criveti Mihai [this message]
2009-02-18  8:55   ` bug#2366: marked as done (unexaix.c requires ADDR_CORRECT to build on AIX 5.3 using XL C 10.1) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=900b86670902171524g5bec43cemeeb0b4858288c56b@mail.gmail.com \
    --to=crivetimihai@gmail.com \
    --cc=2366@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.