Port-hppa archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xemacs build failure (missing symbol hpplay)

On 18 January 2017 at 08:56, Riccardo Mottola
<riccardo.mottola%libero.it@localhost> wrote:
> Hi,
> I tried to build xemacs on my HPPA box with NetBSD 7.0.2 (I did upgrade
> smoothly from 7.0)
> There is a missing symbols which look specific to hp: init_hpplay
> vars_of_hpplay
> Thanks,
> Riccardo
> gcc -c -O2 -Dunix -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
> -DPNG_NO_ASSEMBLER_CODE -DTERMINFO -I/usr/pkg/include -I/usr/include
> -I/usr/X11R7/include -Demacs -I. -DHAVE_CONFIG_H -I/usr/pkg/include
> -I/usr/X11R7/include dump-id.c
> gcc -O2 -Dunix -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include
> -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib
> -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib
> -Wl,-R/usr/pkg/lib:/usr/X11R7/lib   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
> -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
> -Wl,-export-dynamic -o xemacs  abbrev.o alloc.o blocktype.o buffer.o
> bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o
> cmds.o console.o console-stream.o data.o device.o dired.o doc.o doprnt.o
> dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o dumper.o
> balloon_help.o balloon-x.o dgif_lib.o gif_io.o menubar.o scrollbar.o
> dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o
> mule.o mule-ccl.o mule-charset.o file-coding.o input-method-xlib.o
> realpath.o inline.o linuxplay.o miscplay.o console-tty.o device-tty.o
> event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o
> event-unixoid.o database.o sysdll.o emodules.o process-unix.o event-stream.o
> extents.o faces.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o
> general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o  hash.o
> imgproc.o indent.o insdel.o intl.o keymap.o  line-number.o lread.o lstream.o
> macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o process.o
> profile.o rangetab.o redisplay.o redisplay-output.o regex.o search.o
> select.o  signal.o sound.o specifier.o strftime.o symbols.o syntax.o
> sysdep.o undo.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o
> objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o
> lastfile.o gmalloc.o vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o
> TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o   dump-id.o
> ../lwlib/liblw.a  -lXaw -ltiff -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext
> -lX11 -lSM -lICE -lgdbm -ltermcap -lintl -lm -lutil -lossaudio
> emacs.o: In function `xemacs_21_4_23_hppa__netbsd':
> (.text+0x2988): undefined reference to `init_hpplay'
> sound.o: In function `vars_of_sound':
> (.text+0xea4): undefined reference to `vars_of_hpplay'
> *** Error code 1
> Stop.
> make[1]: stopped in /usr/pkgsrc/editors/xemacs/work/xemacs-21.4.23/src

Looks like init_hpplay is a function provided xemacs to play .au sound
files on hp9000s700 (Or more strictly I suspect to play them in HP/UX
on hp9000s700 :)

Its under "#if defined (HAVE_NATIVE_SOUND) && defined (hp9000s800)"

I suspect you may just be able to wrap the references to
vars_of_hpplay and init_hpplay with && defined(HPUX). I could take a
look this end but I gave away my hp box to another developer a while
back, so I wouldn't be able to test :)

Home | Main Index | Thread Index | Old Index