fede2cr / slackware_riscv

RISCV port of the Slackware distribution
11 stars 3 forks source link

motif has undefined reference to main #41

Open fede2cr opened 6 years ago

fede2cr commented 6 years ago

make[2]: Entering directory '/tmp/motif-2.3.8/tools/wml' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -fPIC -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -o wmluiltok wmluiltok.o -lXp -lfontconfig -lfreetype -lXft -ljpeg -lpng libtool: link: gcc -O2 -fPIC -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -o wmluiltok wmluiltok.o /usr/lib64/libXp.so /usr/lib64/libXext.so /usr/lib64/libXft.so -lfontconfig -lfreetype /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so -ldl -ljpeg -lpng /lib64/lp64d/crt1.o: In function _start': (.text+0x6): undefined reference tomain' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:501: wmluiltok] Error 1 make[2]: Leaving directory '/tmp/motif-2.3.8/tools/wml'