-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I've tried compiling the wmMatrix dockapp in Debian 13 and Linux Mint 22.2 and get the same "multiple definition" errors.
brydon@brydon-debian:~/dockapps/wmMatrix$ make
gcc -O2 -Wall -DLinux -c wmMatrix.c -o wmMatrix.o
gcc -O2 -Wall -DLinux -c matrix.c -o matrix.o
gcc -O2 -Wall -DLinux -c xutils.c -o xutils.o
gcc -O2 -Wall -DLinux -c yarandom.c -o yarandom.o
gcc -o wmMatrix wmMatrix.o matrix.o xutils.o yarandom.o -lXpm -lX11 -lXext
/usr/bin/ld: xutils.o:(.bss+0x1e8): multiple definition of iconwin'; wmMatrix.o:(.bss+0x40): first defined here /usr/bin/ld: xutils.o:(.bss+0x1f8): multiple definition of display'; wmMatrix.o:(.bss+0x50): first defined here
/usr/bin/ld: xutils.o:(.bss+0x1e0): multiple definition of win'; wmMatrix.o:(.bss+0x38): first defined here /usr/bin/ld: xutils.o:(.bss+0x1d8): multiple definition of screen'; wmMatrix.o:(.bss+0x34): first defined here
/usr/bin/ld: xutils.o:(.bss+0x1f0): multiple definition of Root'; wmMatrix.o:(.bss+0x48): first defined here /usr/bin/ld: xutils.o:(.bss+0x1d4): multiple definition of DisplayDepth'; wmMatrix.o:(.bss+0x30): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: wmMatrix] Error 1
These are clean installs. I'm not sure what to do here.