Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well the first time i tried to build i found i needed bison so i got that and installed, then i learned i needed m4 and flex so I got both of those installed. But when I do make world I get this error in the log.
<stdout>: In function `yylex':
<stdout>:1199: error: `yy_prev_more_offset' undeclared (first use in this function)
<stdout>:1199: error: (Each undeclared identifier is reported only once
<stdout>:1199: error: for each function it appears in.)
lexer.l:349: warning: long unsigned int format, long int arg (arg 3)
lexer.l:358: warning: long unsigned int format, long int arg (arg 3)
lexer.l: At top level:
<stdout>:2988: warning: 'yy_flex_strlen' defined but not used
make[4]: *** [lexer.o] Error 1
make[4]: Leaving directory `/home/ness/xc/config/pswrap'
make[3]: *** [../../config/pswrap/pswrap] Error 2
make[3]: Leaving directory `/home/ness/xc/lib/dps'
make[2]: *** [includes] Error 2
make[2]: Leaving directory `/home/ness/xc/lib'
make[1]: *** [includes] Error 2
make[1]: Leaving directory `/home/ness/xc'
make: *** [World] Error 2
i think this is a problem with flex (possibly wrong version)
for me
yy_prev_more_offset
is the last definition in
/usr/include/FlexLexer.h
from Flex-2.5.31
i also sometimes get this kind of stuff i can't quite explain or figure out from the compiler
as some kind of "this compiler version" versus the rest of the world thing
or sometimes developers will do something stupid like leave an old header to an externel lib in the source tree but you wouldn't think xorg would do that
Well I got that problem fixed by getting a later release of flex. Alas, a new problem arose just as quickly. Now theres numerous compile errors on xmlconfig. I went and downloaded the source but it isnt easy to compile (in the readme it simply says "if you can't compile this you shouldn't be using it). Argh, maybe I'll just build xorg ignoring errors and see what happens. If anyone has instructions on updating/installing xmlconfig I would appreciate it. I'm getting close to getting xorg to compile just have a few hurdles. It's funny because at the beginning of the week I was getting used to using a shell and now I'm compiling apps
Well, since you fixed the xmlconfig.o error, would you mind posting a fix for that? I'm trying to make World on the 6.8.2 Xorg version, but after installing flex and bison, i stumbled on an error with xmlconfig.o ... which I have no clue as to what to do with...and while you're at it, just in case you fixed the fontconfig, and I stumble on that too, could you post that too?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.