Re: [Vtwm-hackers] vtwm-lex.o: In function `yylex': lex.c:(.text+0xb63): undefined reference to `yy
Brought to you by:
bakaproject,
callum_gibson
From: M.W. v. d. G. <mwg...@gm...> - 2016-12-07 10:04:50
|
I have done the lex.l trick by adding this line to lex.l (on top or bottom): #define YY_DECL int yylex YY_PROTO((void)) But the error persists... I shall take a look at the reading and post results. Thanks! 2016-12-06 21:02 GMT+01:00 M.W. van der Grient <mwg...@gm...>: > I am using Lunar-Linux (http://ww.lunar-linux.org). It's a source based > OS, with a package manager called lunar. I have written a private module > for vtwm dev version 5.5.0-rc8 for this OS. So I can easyly adjust the > module which must build vtwm. > > Flex version is 2.6.2. > > And I use configure. > > I get the same error if I build vtwm from source by hand. I always do make > clean before a build and even removed the directory. > > > > 2016-12-06 20:37 GMT+01:00 Callum Gibson <cal...@op...>: > >> On 06Dec16 14:46, M.W. van der Grient wrote: >> }vtwm-lex.o: In function `yylex': >> }lex.c:(.text+0xb63): undefined reference to `yywrap' >> }collect2: error: ld returned 1 exit status >> }make[1]: *** [Makefile:428: vtwm] Error 1 >> }make[1]: Leaving directory '/usr/src/vtwm-20120316' >> }make: *** [Makefile:346: all] Error 2 >> }rm version-tmp.c >> }<end code> >> } >> }Is the problem related to vtwm, or to flex? I got my source file from >> }vtwm.org (snap-version). >> >> I've seen this before (not necessarily with vtwm). A quick search >> indicates >> you're missing -lfl from the link line. >> >> Are you using imake or configure and on what OS? >> >> C >> >> -- >> >> Callum Gibson @ home >> http://members.optusnet.com.au/callumgibson/ >> >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Vtwm-hackers mailing list >> Vtw...@li... >> https://lists.sourceforge.net/lists/listinfo/vtwm-hackers >> > > |