mark@motcsd.UUCP (Mark Jeghers) (11/30/89)
In an effort to get better aquainted with X.11, I have collected a good deal of X.11 software from comp.sources.x, which I have tried to compile. What follows is a summary of the various errors I ran into. Some errors are probably due to non-portable coding, and some may be due to oddities of the platform I'm working on: Motorola 88k system running System V/88 Release 3.2. If anyone has any clues as to how I can resolve some of these problemns, your input would be appreciated. floatbg compiles but: $ floatbg floatbg: unable to allocate colorcells $ _ golddig compiles but: $ golddig type h for help. X Error: BadName, named color or font does not exist Request Major code 45 () Request Minor code ResourceID 0x300059 Error Serial #151 Current Serial #155 $ _ info-widget fails to compile: $ imake /bin/cc -Dm88k -I -I/X11 -I/usr/include/bsd -DSYSV -DMOTOROLA -DSYSV -DPCS -DHELPFILE=\"infohelp\" -g -c Info.c ./InfoP.h: 144: Can't find include file X11/PanedP.h *** Error code 1 Stop. imake: Signal 1. Stop. $ _ xchomp fails to compile: $ imake /bin/rm -f xchomp /bin/cc -o xchomp contact.o demo.o drivers.o main.o maze.o props.o resources.o status.o -Dm88k /usr/lib/X11/libX11.a undefined first referenced symbol in file _usleep contact.o ld fatal: Symbol referencing errors. No output written to xchomp *** Error code 13 Stop. imake: Signal 1. Stop. $ _ xfade fails to compile: $ imake /bin/rm -f xfade /bin/cc -o xfade xfade.o /usr/lib/X11/libX11.a -Dm88k undefined first referenced symbol in file _usleep xfade.o ld fatal: Symbol referencing errors. No output written to xfade *** Error code 13 Stop. imake: Signal 1. Stop. $ _ xgifroot fails to compile: $ make cc -O -I/usr/include/X11 -c xgifroot.c C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. "//usr/include/sys/time.h", line 29: Multiple definition of identifier: timeval "//usr/include/sys/time.h", line 38: Multiple definition of identifier: itimerval "//usr/include/sys/time.h", line 43: Multiple definition of identifier: timezone "xgifroot.c", line 48: warning: Illegal combination of pointer and integer *** Error code 1 Stop. $ _ xlife fails to compile: $ make cc -O -c button.c C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. "//usr/include/sys/time.h", line 29: Multiple definition of identifier: timeval "//usr/include/sys/time.h", line 38: Multiple definition of identifier: itimerval "//usr/include/sys/time.h", line 43: Multiple definition of identifier: timezone *** Error code 1 Stop. $ _ xlock fails to compile: $ imake /bin/cc -Dm88k -I -I/X11 -DSYSV -DMOTOROLA -c HSBmap.c C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. "HSBmap.c", line 34: A type or a storage class must be specified in a declaration "HSBmap.c", line 34: Not a parameter name: u_char "HSBmap.c", line 34: expected: ';' got: '*' "HSBmap.c", line 41: warning: Old-fashioned initialization "HSBmap.c", line 41: Undefined symbol: p "HSBmap.c", line 41: Type mismatch "HSBmap.c", line 41: Type mismatch "HSBmap.c", line 50: Undefined symbol: p "HSBmap.c", line 50: illegal function "HSBmap.c", line 50: warning: Cannot take the address of this object "HSBmap.c", line 51: illegal function "HSBmap.c", line 52: illegal function "HSBmap.c", line 55: Illegal operation "HSBmap.c", line 55: warning: Cannot take the address of this object "HSBmap.c", line 55: expected: ';' got: name "HSBmap.c", line 56: Illegal operation "HSBmap.c", line 56: warning: Cannot take the address of this object "HSBmap.c", line 57: Illegal operation "HSBmap.c", line 57: Undefined symbol: p "HSBmap.c", line 57: warning: Cannot take the address of this object "HSBmap.c", line 57: Type mismatch "HSBmap.c", line 60: Illegal operation "HSBmap.c", line 60: warning: Cannot take the address of this object "HSBmap.c", line 61: Illegal operation "HSBmap.c", line 61: warning: Cannot take the address of this object "HSBmap.c", line 61: expected: ';' got: name "HSBmap.c", line 62: Illegal operation "HSBmap.c", line 62: Undefined symbol: p "HSBmap.c", line 62: warning: Cannot take the address of this object "HSBmap.c", line 62: Type mismatch "HSBmap.c", line 65: Illegal operation "HSBmap.c", line 65: Undefined symbol: p "HSBmap.c", line 65: warning: Cannot take the address of this object "HSBmap.c", line 65: Type mismatch "HSBmap.c", line 66: Illegal operation "HSBmap.c", line 66: warning: Cannot take the address of this object "HSBmap.c", line 66: expected: ';' got: name "HSBmap.c", line 67: Illegal operation "HSBmap.c", line 67: warning: Cannot take the address of this object "HSBmap.c", line 70: Illegal operation "HSBmap.c", line 70: Undefined symbol: p "HSBmap.c", line 70: warning: Cannot take the address of this object "HSBmap.c", line 70: Type mismatch "HSBmap.c", line 71: Illegal operation "HSBmap.c", line 71: warning: Cannot take the address of this object "HSBmap.c", line 72: Illegal operation "HSBmap.c", line 72: warning: Cannot take the address of this object "HSBmap.c", line 72: expected: ';' got: name "HSBmap.c", line 75: Illegal operation "HSBmap.c", line 75: warning: Cannot take the address of this object "HSBmap.c", line 76: Illegal operation "HSBmap.c", line 76: Undefined symbol: p "HSBmap.c", line 76: warning: Cannot take the address of this object "HSBmap.c", line 76: Type mismatch "HSBmap.c", line 77: Illegal operation "HSBmap.c", line 77: warning: Cannot take the address of this object "HSBmap.c", line 77: expected: ';' got: name "HSBmap.c", line 80: Illegal operation "HSBmap.c", line 80: warning: Cannot take the address of this object "HSBmap.c", line 80: expected: ';' got: name "HSBmap.c", line 81: Illegal operation "HSBmap.c", line 81: Undefined symbol: p "HSBmap.c", line 81: warning: Cannot take the address of this object "HSBmap.c", line 81: Type mismatch "HSBmap.c", line 82: Illegal operation "HSBmap.c", line 82: warning: Cannot take the address of this object "HSBmap.c", line 98: A type or a storage class must be specified in a declaration "HSBmap.c", line 98: Not a parameter name: u_char "HSBmap.c", line 98: expected: ';' got: '*' "HSBmap.c", line 105: warning: Old-fashioned initialization "HSBmap.c", line 105: Undefined symbol: r "HSBmap.c", line 105: Illegal use of typedef "HSBmap.c", line 105: Type mismatch "HSBmap.c", line 105: Type mismatch "HSBmap.c", line 110: Undefined symbol: r "HSBmap.c", line 110: warning: Cannot take the address of this object "HSBmap.c", line 111: warning: Illegal combination of pointer and integer "HSBmap.c", line 112: warning: Illegal combination of pointer and integer "HSBmap.c", line 117: Undefined symbol: r *** Error code 1 Stop. imake: Signal 1. Stop. $ _ xtartan is missing "xtartan.c" xwps fails to compile: $ make cc -g -DSYSV -c xwps.c //usr/include/sys/signal.h: 44: SIGCHLD redefined C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. as : "/tmp/sif883": Warning: cannot resolve tag '_inode' for debug as : "/tmp/sif883": Warning: cannot resolve tag '__XrmHashBucketRec' for debug as : "/tmp/sif883": Warning: cannot resolve tag '_XKeytrans' for debug as : "/tmp/sif883": Warning: cannot resolve tag '__XRegion' for debug as: "/tmp/sif883": cannot reduce symbol table, unused symbols remain cc -g -DSYSV -c dsimple.c C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. as : "/tmp/sif898": Warning: cannot resolve tag '_inode' for debug as : "/tmp/sif898": Warning: cannot resolve tag '__XrmHashBucketRec' for debug as : "/tmp/sif898": Warning: cannot resolve tag '_XKeytrans' for debug as : "/tmp/sif898": Warning: cannot resolve tag '__XRegion' for debug as: "/tmp/sif898": cannot reduce symbol table, unused symbols remain cc -g -DSYSV -c psfile.c //usr/include/sys/signal.h: 44: SIGCHLD redefined C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. as : "/tmp/sif913": Warning: cannot resolve tag '_inode' for debug as : "/tmp/sif913": Warning: cannot resolve tag '__XrmHashBucketRec' for debug as : "/tmp/sif913": Warning: cannot resolve tag '_XKeytrans' for debug as : "/tmp/sif913": Warning: cannot resolve tag '__XRegion' for debug cc xwps.o dsimple.o psfile.o -lX11 -o ./xwps ld 90 fatal: no string table in file xwps.o *** Error code 13 Stop. $ _ xplot failed to compile: $ imake /bin/cc -Dm88k -I/usr/include -I/usr/include/X11 -DSYSV -DMOTOROLA -c xplot.c C-88000 1.8.4m14 Copyright (C) 1983,1984,1985,1986,1987,1988 Green Hills Software, Inc. All rights reserved. /bin/rm -f xplot /bin/cc -o xplot xplot.o /usr/lib/X11/libXaw.a /usr/lib/X11/libXmu.a /usr/lib/X11/libXt.a /usr/lib/X11/libX11.a -Dm88k -lm undefined first referenced symbol in file _usleep xplot.o ld fatal: Symbol referencing errors. No output written to xplot *** Error code 13 Stop. imake: Signal 1. Stop. $ _ xplot compiles now by replacing _usleep with sleep. Does it run? No test data! xfish (under aquarium) won't compile if libns.a is added to the link list. Also it only makes he background white on the NCD. Will it work in color? xtacho requires bizarre kludges to compile! Preprocessor constants not defined although used! Then fails to link (librpcsvc.a must be removed from link list, not found): $ make /bin/cc ./xtacho.o -L /usr/lib/X11 -lXaw -lXmu -lXt -lX11 -lm -o ./xtacho undefined first referenced symbol in file _rstat ./xtacho.o ld fatal: Symbol referencing errors. No output written to ./xtacho *** Error code 13 Stop. $ _ _rstat is probably supposed to be in librpcsvc.a, which is unavailable. xtroff can't compile fontstuff or xfonts subdirectories. Reference to getdtablesize() had to be short-circuited. When xtroff runs: $ xtroff X Error: BadName, named color or font does not exist Request Major code 45 () Request Minor code ResourceID 0x60002a Error Serial #81 Current Serial #89 $ _ xpic is missing parts 13-15. xconf has a corrupted file (Text.c.ab) Thanks for any and all help! -- Mark Jeghers 408-578-9145 [h] "It's over your head, Motorola Computer Systems 408-864-2629 [w] it's on every side, ...hplabs!hpda!\ mountains of veggies and ....uunet!apple!motcsd!greek!mark fruit to the sky..." - Neil Peart