fixing was easy this time (adding ADDR_CORRECT macro): *** unexaix.c Thu Feb 7 10:47:08 2013 --- unexaix.c.ori Tue Jan 1 20:37:17 2013 *************** *** 92,99 **** #include "lisp.h" - #define ADDR_CORRECT(x) ((char *)(x) - (char*)0) - static void report_error (const char *file, int fd) But now the compilation fails later: Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs Invalid format operation %u gmake[1]: *** [bootstrap-emacs] Error 1 gmake[1]: Leaving directory `/sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93/src' gmake: *** [src] Error 2 Still working on it... 2013/2/7 Gilles Pion > > /fdj/opt/gcc-4.7/bin/gcc -std=gnu99 -Demacs -I. > -I/sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93/src -I../lib > -I/sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93/src/../lib > -MMD -MF deps/.d -MP -O2 -I/opt/freeware/include -Wl,-bnodelcsect > -Wl,-bbigtoc \ > -o temacs dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o > charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o > term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o xsmfns.o > xsettings.o xgselect.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 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 gnutls.o callproc.o region-cache.o > sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o > profiler.o xfont.o fontset.o fringe.o image.o terminfo.o lastfile.o > gmalloc.o ralloc.o vm-limit.o widget.o ../lib/libgnu.a > ../lwlib/liblw.a -lXpm -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 > -lrts -lIM -liconv -lcurses -lperfstat -lpthread -lm > ld: 0711-317 ERROR: Undefined symbol: .ADDR_CORRECT > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > collect2: error: ld returned 8 exit status > gmake[1]: *** [temacs] Error 1 > gmake[1]: Leaving directory > `/sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93/src' > gmake: *** [src] Error 2 > > Context; > > Where should the build process find the source code? > /sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93 > What compiler should emacs be built with? > /fdj/opt/gcc-4.7/bin/gcc -std=gnu99 -O2 -I/opt/freeware/include > Should Emacs use the GNU version of malloc? yes > Should Emacs use a relocating allocator for buffers? yes > Should Emacs use mmap(2) for buffer allocation? no > What window system should Emacs use? x11 > What toolkit should Emacs use? LUCID > Where do we find X Windows header files? Standard dirs > Where do we find X Windows libraries? Standard dirs > Does Emacs use -lXaw3d? no > Does Emacs use -lXpm? yes > Does Emacs use -ljpeg? no > Does Emacs use -ltiff? no > Does Emacs use a gif library? no > Does Emacs use -lpng? no > Does Emacs use -lrsvg-2? no > Does Emacs use imagemagick? no > Does Emacs use -lgpm? no > Does Emacs use -ldbus? no > Does Emacs use -lgconf? no > Does Emacs use GSettings? no > Does Emacs use -lselinux? no > Does Emacs use -lgnutls? no > Does Emacs use -lxml2? no > Does Emacs use -lfreetype? no > Does Emacs use -lm17n-flt? no > Does Emacs use -lotf? no > Does Emacs use -lxft? no > Does Emacs use toolkit scroll bars? no > > > > -- > *Gilles* > -- *Gilles*