[wmluiltok] Error 1

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

Submitted by joyssstan on Mon, 04/26/2010 - 04:44.

While I 'make', I had the below error.

Making all in tools
make[1]: Entering directory `/home/birg/Desktop/openmotif-2.3.3/tools'
Making all in wml
make[2]: Entering directory `/home/birg/Desktop/openmotif-2.3.3/tools/wml'
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -o wmluiltok wmluiltok.o -lXp
libtool: link: gcc -g -O2 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -o wmluiltok wmluiltok.o -lXp
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [wmluiltok] Error 1
make[2]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/tools/wml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/birg/Desktop/openmotif-2.3.3/tools'
make: *** [all-recursive] Error 1

After browsing through the forum, the problem seem to caused by flex and there are advice saying that adding %option main in front of wmluiltok.l would solve the problem. But I'm wondering where wmluiltok.l is located? can someone please help me on this?

Thanks.

Thu, 07/26/2012 - 11:51
#1
2 posts / 0 new
Last post
13
Thu, 07/26/2012 - 11:51