LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-17-2005, 08:28 PM   #1
magus0216
Member
 
Registered: Feb 2005
Location: Atlanta
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 50

Rep: Reputation: 15
Building X.Org 6.8


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

Any help?
 
Old 02-18-2005, 01:04 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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
 
Old 02-18-2005, 09:17 AM   #3
magus0216
Member
 
Registered: Feb 2005
Location: Atlanta
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2005, 04:00 PM   #4
magus0216
Member
 
Registered: Feb 2005
Location: Atlanta
Distribution: Ubuntu (Hoary Hedgehog)
Posts: 50

Original Poster
Rep: Reputation: 15
Well got xmlconfig taken care of, time to fix fontconfig. I swear xorg is gonna compile eventually!!
 
Old 03-21-2005, 04:28 PM   #5
hess
LQ Newbie
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu Dapper 6.06
Posts: 2

Rep: Reputation: 0
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsdforum.org or bsdforum.org are they 'jeremy' forum websites? t3gah LQ Suggestions & Feedback 1 06-12-2005 11:06 PM
X11.org and Xfree86.org question caps_phisto Linux - General 1 11-16-2004 06:42 PM
LinuxQuestions.org will be in the .Org Village at LWE UK jeremy LQ Suggestions & Feedback 34 10-10-2004 10:41 AM
tldp.org and linuxdocs.org emailssent General 2 09-20-2004 07:59 AM
X.org Vs XFree86.org whats the diff. demetri007 Linux - Software 5 08-19-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration