Failure to build hugs98-Nov2003 on Mac OS X 10.3.2
Alwyn
dt015a1979 at blueyonder.co.uk
Fri Dec 19 16:12:03 EST 2003
Build fails with undefined symbols, which should be defined in
machdep.c if required. Can anyone help?
Here is the output of the configure-make process:
82-35-88-214:~/Desktop alwyn$ cd hugs98-Nov2003/
82-35-88-214:~/Desktop/hugs98-Nov2003 alwyn$ cd src/unix
82-35-88-214:~/Desktop/hugs98-Nov2003/src/unix alwyn$ ./configure
checking build system type... powerpc-apple-darwin7.2.0
checking host system type... powerpc-apple-darwin7.2.0
checking target system type... powerpc-apple-darwin7.2.0
checking directory ../../fptools... looks ok
checking for bison... bison -y
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for ld... ld
checking for perl... perl
checking whether make sets $(MAKE)... yes
checking for hp2ps... 0
checking for docbook2html... no
checking for db2html... no
checking for docbook2dvi... no
checking for db2dvi... no
checking for docbook2pdf... no
checking for db2pdf... no
checking for docbook2ps... no
checking for db2ps... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for diff... /usr/bin/diff
checking whether to use "diff -c1" or "diff -C 1"... /usr/bin/diff -C 1
checking for function_dlopen... yes
checking for function_shl_load... no
checking for library_dld... no
checking for function_atan... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking console.h usability... no
checking console.h presence... no
checking for console.h... no
checking pascal.h usability... no
checking pascal.h presence... no
checking for pascal.h... no
checking Files.h usability... no
checking Files.h presence... no
checking for Files.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stat.h usability... no
checking stat.h presence... no
checking for stat.h... no
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking ftw.h usability... no
checking ftw.h presence... no
checking for ftw.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking whether time.h and sys/time.h may both be included... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking dos.h usability... no
checking dos.h presence... no
checking for dos.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking std.h usability... no
checking std.h presence... no
checking for std.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... yes
checking for mach-o/dyld.h... yes
checking alloc.h usability... no
checking alloc.h presence... no
checking for alloc.h... no
checking for valloc... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for in_addr_t in netinet/in.h... yes
checking for SIGPOLL... no
checking whether gcc supports long long types... yes
checking for msg_accrights in struct msghdr... no
checking for msg_control in struct msghdr... yes
checking for char... yes
checking size of char... 1
checking for double... yes
checking size of double... 8
checking for float... yes
checking size of float... 4
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for short... yes
checking size of short... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for unsigned short... yes
checking size of unsigned short... 2
checking for void *... yes
checking size of void *... 4
checking for char... (cached) yes
checking alignment of char... 1
checking for double... (cached) yes
checking alignment of double... 4
checking for float... (cached) yes
checking alignment of float... 4
checking for int... (cached) yes
checking alignment of int... 4
checking for long... (cached) yes
checking alignment of long... 4
checking for long long... (cached) yes
checking alignment of long long... 4
checking for short... (cached) yes
checking alignment of short... 2
checking for unsigned char... (cached) yes
checking alignment of unsigned char... 1
checking for unsigned int... (cached) yes
checking alignment of unsigned int... 4
checking for unsigned long... (cached) yes
checking alignment of unsigned long... 4
checking for unsigned long long... (cached) yes
checking alignment of unsigned long long... 4
checking for unsigned short... (cached) yes
checking alignment of unsigned short... 2
checking for void *... (cached) yes
checking alignment of void *... 4
checking Haskell type for char... Int8
checking Haskell type for signed char... Int8
checking Haskell type for unsigned char... Word8
checking Haskell type for short... Int16
checking Haskell type for unsigned short... Word16
checking Haskell type for int... Int32
checking Haskell type for unsigned int... Word32
checking Haskell type for long... Int32
checking Haskell type for unsigned long... Word32
checking Haskell type for long long... Int64
checking Haskell type for unsigned long long... Word64
checking Haskell type for float... Float
checking Haskell type for double... Double
checking Haskell type for ptrdiff_t... Int32
checking Haskell type for size_t... Word32
checking Haskell type for wchar_t... Int32
checking Haskell type for sig_atomic_t... Int32
checking Haskell type for clock_t... Word32
checking Haskell type for time_t... Int32
checking Haskell type for dev_t... Int32
checking Haskell type for ino_t... Word32
checking Haskell type for mode_t... Word16
checking Haskell type for off_t... Int64
checking Haskell type for pid_t... Int32
checking Haskell type for gid_t... Word32
checking Haskell type for uid_t... Word32
checking Haskell type for cc_t... Word8
checking Haskell type for speed_t... Int32
checking Haskell type for tcflag_t... Word32
checking Haskell type for nlink_t... Word16
checking Haskell type for ssize_t... Int32
checking Haskell type for rlim_t... Int64
checking value of E2BIG... 7
checking value of EACCES... 13
checking value of EADDRINUSE... 48
checking value of EADDRNOTAVAIL... 49
checking value of EADV... -1
checking value of EAFNOSUPPORT... 47
checking value of EAGAIN... 35
checking value of EALREADY... 37
checking value of EBADF... 9
checking value of EBADMSG... -1
checking value of EBADRPC... 72
checking value of EBUSY... 16
checking value of ECHILD... 10
checking value of ECOMM... -1
checking value of ECONNABORTED... 53
checking value of ECONNREFUSED... 61
checking value of ECONNRESET... 54
checking value of EDEADLK... 11
checking value of EDESTADDRREQ... 39
checking value of EDIRTY... -1
checking value of EDOM... 33
checking value of EDQUOT... 69
checking value of EEXIST... 17
checking value of EFAULT... 14
checking value of EFBIG... 27
checking value of EFTYPE... 79
checking value of EHOSTDOWN... 64
checking value of EHOSTUNREACH... 65
checking value of EIDRM... 90
checking value of EILSEQ... 92
checking value of EINPROGRESS... 36
checking value of EINTR... 4
checking value of EINVAL... 22
checking value of EIO... 5
checking value of EISCONN... 56
checking value of EISDIR... 21
checking value of ELOOP... 62
checking value of EMFILE... 24
checking value of EMLINK... 31
checking value of EMSGSIZE... 40
checking value of EMULTIHOP... -1
checking value of ENAMETOOLONG... 63
checking value of ENETDOWN... 50
checking value of ENETRESET... 52
checking value of ENETUNREACH... 51
checking value of ENFILE... 23
checking value of ENOBUFS... 55
checking value of ENODATA... -1
checking value of ENODEV... 19
checking value of ENOENT... 2
checking value of ENOEXEC... 8
checking value of ENOLCK... 77
checking value of ENOLINK... -1
checking value of ENOMEM... 12
checking value of ENOMSG... 91
checking value of ENONET... -1
checking value of ENOPROTOOPT... 42
checking value of ENOSPC... 28
checking value of ENOSR... -1
checking value of ENOSTR... -1
checking value of ENOSYS... 78
checking value of ENOTBLK... 15
checking value of ENOTCONN... 57
checking value of ENOTDIR... 20
checking value of ENOTEMPTY... 66
checking value of ENOTSOCK... 38
checking value of ENOTTY... 25
checking value of ENXIO... 6
checking value of EOPNOTSUPP... 45
checking value of EPERM... 1
checking value of EPFNOSUPPORT... 46
checking value of EPIPE... 32
checking value of EPROCLIM... 67
checking value of EPROCUNAVAIL... 76
checking value of EPROGMISMATCH... 75
checking value of EPROGUNAVAIL... 74
checking value of EPROTO... -1
checking value of EPROTONOSUPPORT... 43
checking value of EPROTOTYPE... 41
checking value of ERANGE... 34
checking value of EREMCHG... -1
checking value of EREMOTE... 71
checking value of EROFS... 30
checking value of ERPCMISMATCH... 73
checking value of ERREMOTE... -1
checking value of ESHUTDOWN... 58
checking value of ESOCKTNOSUPPORT... 44
checking value of ESPIPE... 29
checking value of ESRCH... 3
checking value of ESRMNT... -1
checking value of ESTALE... 70
checking value of ETIME... -1
checking value of ETIMEDOUT... 60
checking value of ETOOMANYREFS... 59
checking value of ETXTBSY... 26
checking value of EUSERS... 68
checking value of EWOULDBLOCK... 35
checking value of EXDEV... 18
checking value of O_BINARY... 0
checking for strcasecmp... yes
checking for _stricmp... no
checking for stricmp... no
checking for strcmpi... no
checking for strcmp... yes
checking for rindex... yes
checking for strrchr... yes
checking for canonicalize_file_name... no
checking for realpath... yes
checking for _fullpath... no
checking for PBHSetVolSync... no
checking for macsystem... no
checking for fgetpos... yes
checking for fsetpos... yes
checking for fseek... yes
checking for ftell... yes
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for snprintf... yes
checking for _snprintf... no
checking for popen... yes
checking for _popen... no
checking for pclose... yes
checking for _pclose... no
checking for setenv... yes
checking for unsetenv... yes
checking for sigprocmask... yes
checking for getrusage... yes
checking for times... yes
checking for isatty... yes
checking for fstat... yes
checking for lstat... yes
checking for select... yes
checking for getclock... no
checking for gettimeofday... yes
checking for ftime... no
checking for time... yes
checking for localtime... yes
checking for gmtime... yes
checking for mktime... yes
checking for readdir_r... yes
checking for dup... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking timezone... no
checking altzone... no
checking for working alloca.h... yes
checking for alloca... yes
checking for _alloca... no
checking for stime... no
checking for poly... no
checking for an ANSI C-conforming const... yes
checking prototypes... yes
checking for arrays of jmp_bufs... yes
checking labels as values... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking return type of signal handlers... void
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for int... (cached) yes
checking size of int... (cached) 4
checking for float... (cached) yes
checking size of float... (cached) 4
checking for double... (cached) yes
checking size of double... (cached) 8
checking for int*... yes
checking size of int*... 4
building large hugs
checking if '/LD' builds loadable libraries...
checking if '/LD /ML /nologo' builds loadable libraries...
checking if '-shared' builds loadable libraries...
checking if '-shared -fPIC' builds loadable libraries...
checking if '-bundle' builds loadable libraries... -bundle
checking if '-bundle -lc' builds loadable libraries... (cached) -bundle
checking if '-r' builds loadable libraries... (cached) -bundle
configure: creating ./config.status
config.status: creating ../Makefile
config.status: creating ../platform.h
config.status: creating ../../docs/Makefile
config.status: creating ../../docs/users_guide/Makefile
config.status: creating ../../docs/hugs.1
config.status: creating hugs-package
config.status: creating ../config.h
config.status: creating ../options.h
************************************************
*** NOW DO: cd .. ; make ; make install
************************************************
82-35-88-214:~/Desktop/hugs98-Nov2003/src/unix alwyn$ cd ..
82-35-88-214:~/Desktop/hugs98-Nov2003/src alwyn$ make
gcc -c -g -O2 hugs.c
gcc -c -g -O2 edit.c
gcc -c -g -O2 observe.c
gcc -c -g -O2 builtin.c
gcc -c -g compiler.c
gcc -c -g -O2 errors.c
gcc -c -g -O2 evaluator.c
gcc -c -g -O2 ffi.c
gcc -c -g -O2 goal.c
gcc -c -g -O2 input.c
gcc -c -g -O2 machdep.c
gcc -c -g -O2 machine.c
gcc -c -g module.c
gcc -c -g -O2 opts.c
gcc -c -g -O2 output.c
gcc -c -g -O2 plugin.c
gcc -c -g -O2 script.c
gcc -c -g static.c
gcc -c -g -O2 storage.c
gcc -c -g -O2 strutil.c
gcc -c -g subst.c
gcc -c -g type.c
gcc hugs.o edit.o observe.o builtin.o compiler.o errors.o evaluator.o
ffi.o goal.o input.o machdep.o machine.o module.o opts.o output.o
plugin.o script.o static.o storage.o strutil.o subst.o type.o version.o
-lreadline -lncurses -o hugs
ld: warning multiple definitions of symbol _BC
/usr/local/lib/libreadline.dylib(terminal.so) definition of _BC
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _BC
ld: warning multiple definitions of symbol _UP
/usr/local/lib/libreadline.dylib(terminal.so) definition of _UP
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _UP
ld: warning multiple definitions of symbol _PC
/usr/local/lib/libreadline.dylib(terminal.so) definition of _PC
/usr/lib/libncurses.dylib(lib_tputs.o) definition of _PC
ld: Undefined symbols:
_doubleFromParts
_part1Double
_part2Double
make: *** [hugs] Error 1
Alwyn
More information about the Hugs-Bugs
mailing list