ibm@dit.upm.es (Ignacio Bellido Montes) (11/22/89)
Hello people, I've been trying to compile gnu-emacs on a HP900-350 machine under HP-UX 6.5. I prepared the configuration files y placed the correct (I suppose) defitions on it. Until this point all was right. But I began to build the modules and the problems became. The compiler optimizer gave some warnings (possible infinite loops). Nothing wrong, till the linker arrived, at this point the system says that there are some undefined externals: flag_fpa flag_68010 fpa_loc float_loc I have investigated the source of this irregularities, and I haven't found any reference to this flags in the emacs source code. The linker uses the -lc -lBSD and -lcurses libraries, and uses to an extrange (I'm not a 'c' programer) object file "end.o" that exists on /usr/lib. What I've found is that the first three flags ara used or defined (referenced) on /lib/libc.a, and the last one is referenced on /lib/end.o. I belive that the problem may belong to the libraries, where the symbols are referenced but not defined, and the place where they are defined is another library that is not linked to the program. The emacs version is 18.41.35, and the call to ld is ld -o temacs crt0.o dispnew.o scroll.o xdisp.o window.o term.o cm.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 casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o syntax.o unexec.o mocklisp.o bytecode.o process.o callproc.o doprnt.o terminfo.o lastfile.o alloca.o malloc.o -lcurses -lBSD /lib/end.o -lc If someone could help, I will allways be in debt. Thanks a lot in advance. Ignacio. ============================================================================ Ignacio Bellido Fernandez-Montes, Departamento de Ingenieria de Department of Telematic Sistemas Telematicos (dit), Systems Engineering, Laboratorio de Inteligencia Artificial. Artificial Intelligence Laboratory. Universidad Politecnica de Madrid. Madrid University of Technology. e-mail: ibellido@dit.upm.es or Phone: Work: 34 - 1 - 5495700 ext 368 ibellido@goya.uucp Home: 34 - 1 - 5938424 TELEX: 47430 ETSIT E Fax: 34 - 1 - 2432077 ============================================================================ -- ============================================================================ Ignacio Bellido Fernandez-Montes, Departamento de Ingenieria de Department of Telematic Sistemas Telematicos (dit), Systems Engineering, Laboratorio de Inteligencia Artificial. Artificial Intelligence Laboratory. Universidad Politecnica de Madrid. Madrid University of Technology. e-mail: ibellido@dit.upm.es or Phone: Work: 34 - 1 - 5495700 (62) ext 368 ibellido@goya.uucp Home: 34 - 1 - 2533365 TELEX: 47430 ETSIT E Fax: 34 - 1 - 2432077 ============================================================================