LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2007, 07:13 PM   #1
Guilherme
Member
 
Registered: Jul 2006
Posts: 83

Rep: Reputation: 15
Mesa3D 6 - Make(ing) troble


hello
This is the nth I tryed to configure Mesa3D but I simple can't... don't know why it reports me always the same error...
I donwloaded the GLUT and the LIB last vertions of Mesa3D and tar(ed) it to the same directory (as automaticly "tar xf Mesa(...)").
I cp(ed) the include/GL/* to /usr/include/GL and thoght src directory could be /usr/src (but I didn't anything) as well as windows directory ...
anyway I had run make linux-x86 as well as make linux-x86-32 and the same error...
I use Mandriva 2006 with Linux-2.6.20 kernel with KDE (standard).

This is the reported error...
Code:
[root@localhost Mesa-6.5.3]# make linux-x86-32
(cd configs && rm -f current && ln -s linux-x86-32 current)
make default
make[1]: Entering directory `/home/guilherme/Download/Mesa-6.5.3'
make[2]: Entering directory `/home/guilherme/Download/Mesa-6.5.3/src'
Making sources for linux-x86-32
mkdir ../lib
make[3]: Entering directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa'
make[4]: Entering directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa'
make[5]: Entering directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa/x86'
gcc -I../../../include/GL -I../../../include -I.. -I../main -I../math -I../glapi -I../tnl -Wall -Wmissing-prototypes -O3 -g -fPIC  -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include -std=c99 -ffast-math  gen_matypes.c -o gen_matypes
make[5]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa/x86'
make[5]: Entering directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa/x86-64'
gcc -Wall -Wmissing-prototypes -O3 -g -fPIC  -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include -std=c99 -ffast-math     ../x86/gen_matypes.c   -o ../x86/gen_matypes
../x86/gen_matypes.c:35:27: error: main/glheader.h: No such file or directory
../x86/gen_matypes.c:36:25: error: main/mtypes.h: No such file or directory
../x86/gen_matypes.c:37:27: error: tnl/t_context.h: No such file or directory
../x86/gen_matypes.c: In function 'main':
../x86/gen_matypes.c:87: warning: implicit declaration of function 'printf'
../x86/gen_matypes.c:87: warning: incompatible implicit declaration of built-in function 'printf'
../x86/gen_matypes.c:102: error: 'size_t' undeclared (first use in this function)
../x86/gen_matypes.c:102: error: (Each undeclared identifier is reported only once
../x86/gen_matypes.c:102: error: for each function it appears in.)
../x86/gen_matypes.c:102: error: 'GLcontext' undeclared (first use in this function)
../x86/gen_matypes.c:102: error: syntax error before ')' token
../x86/gen_matypes.c:104: error: syntax error before ')' token
../x86/gen_matypes.c:105: error: syntax error before ')' token
../x86/gen_matypes.c:106: error: syntax error before ')' token
../x86/gen_matypes.c:107: error: syntax error before ')' token
../x86/gen_matypes.c:108: error: syntax error before ')' token
../x86/gen_matypes.c:109: error: syntax error before ')' token
../x86/gen_matypes.c:110: error: syntax error before ')' token
../x86/gen_matypes.c:111: error: syntax error before ')' token
../x86/gen_matypes.c:112: error: syntax error before ')' token
../x86/gen_matypes.c:113: error: syntax error before ')' token
../x86/gen_matypes.c:120: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:121: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:123: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:124: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:125: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:126: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:127: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:128: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:129: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:130: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:131: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:132: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:133: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:134: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:135: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:136: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:137: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:138: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:139: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:140: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:146: error: 'VERT_BIT_POS' undeclared (first use in this function)
../x86/gen_matypes.c:147: error: 'VERT_BIT_NORMAL' undeclared (first use in this function)
../x86/gen_matypes.c:148: error: 'VERT_BIT_COLOR0' undeclared (first use in this function)
../x86/gen_matypes.c:149: error: 'VERT_BIT_COLOR1' undeclared (first use in this function)
../x86/gen_matypes.c:150: error: 'VERT_BIT_FOG' undeclared (first use in this function)
../x86/gen_matypes.c:151: error: 'VERT_BIT_TEX0' undeclared (first use in this function)
../x86/gen_matypes.c:152: error: 'VERT_BIT_TEX1' undeclared (first use in this function)
../x86/gen_matypes.c:153: error: 'VERT_BIT_TEX2' undeclared (first use in this function)
../x86/gen_matypes.c:154: error: 'VERT_BIT_TEX3' undeclared (first use in this function)
../x86/gen_matypes.c:161: error: 'GLvector4f' undeclared (first use in this function)
../x86/gen_matypes.c:161: error: syntax error before ')' token
../x86/gen_matypes.c:162: error: syntax error before ')' token
../x86/gen_matypes.c:163: error: syntax error before ')' token
../x86/gen_matypes.c:164: error: syntax error before ')' token
../x86/gen_matypes.c:165: error: syntax error before ')' token
../x86/gen_matypes.c:166: error: syntax error before ')' token
../x86/gen_matypes.c:170: error: 'VEC_MALLOC' undeclared (first use in this function)
../x86/gen_matypes.c:171: error: 'VEC_NOT_WRITEABLE' undeclared (first use in this function)
../x86/gen_matypes.c:172: error: 'VEC_BAD_STRIDE' undeclared (first use in this function)
../x86/gen_matypes.c:174: error: 'VEC_SIZE_1' undeclared (first use in this function)
../x86/gen_matypes.c:175: error: 'VEC_SIZE_2' undeclared (first use in this function)
../x86/gen_matypes.c:176: error: 'VEC_SIZE_3' undeclared (first use in this function)
../x86/gen_matypes.c:177: error: 'VEC_SIZE_4' undeclared (first use in this function)
../x86/gen_matypes.c:184: error: 'GLmatrix' undeclared (first use in this function)
../x86/gen_matypes.c:184: error: syntax error before ')' token
../x86/gen_matypes.c:185: error: syntax error before ')' token
../x86/gen_matypes.c:186: error: syntax error before ')' token
../x86/gen_matypes.c:187: error: syntax error before ')' token
../x86/gen_matypes.c:194: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:195: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:197: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:198: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:199: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:200: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:201: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:202: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:203: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:204: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:205: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:206: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:207: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:208: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:210: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:212: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:213: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:214: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:215: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:216: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:218: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:219: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:220: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:221: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:223: error: invalid application of 'sizeof' to incomplete type 'struct gl_light'
../x86/gen_matypes.c:227: error: 'LIGHT_SPOT' undeclared (first use in this function)
../x86/gen_matypes.c:228: error: 'LIGHT_LOCAL_VIEWER' undeclared (first use in this function)
../x86/gen_matypes.c:229: error: 'LIGHT_POSITIONAL' undeclared (first use in this function)
../x86/gen_matypes.c:231: error: 'LIGHT_NEED_VERTICES' undeclared (first use in this function)
../x86/gen_matypes.c:238: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:239: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:240: error: dereferencing pointer to incomplete type
../x86/gen_matypes.c:241: error: dereferencing pointer to incomplete type
make[5]: *** [../x86/gen_matypes] Error 1
make[5]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa/x86-64'
make[4]: *** [subdirs] Error 2
make[4]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/guilherme/Download/Mesa-6.5.3'
make: *** [linux-x86-32] Error 2
I thoght it could be the LIB not installed, but yes... that is what I am installing, or trying, so .. why is this calling for GLLib? :x ....

Can you help me?

thanks

Guilherme

Last edited by Guilherme; 05-27-2007 at 07:17 PM.
 
Old 05-29-2007, 04:16 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Quote:
../x86/gen_matypes.c:35:27: error: main/glheader.h: No such file or directory
../x86/gen_matypes.c:36:25: error: main/mtypes.h: No such file or directory
../x86/gen_matypes.c:37:27: error: tnl/t_context.h: No such file or directory
Do these files exist? You can use Mesa-6.5.2 that has those files, or take a look at configs/default, configs/linux, configs/linux-x86 to define the x11includes path etc. Also don't forget to run
Code:
make realclean
every time you try to recompile
 
Old 05-29-2007, 09:12 AM   #3
Guilherme
Member
 
Registered: Jul 2006
Posts: 83

Original Poster
Rep: Reputation: 15
ok... but there is a question
the X11 hinclude are in /urs/include/X11 right?
what do I need to do so? tell the "pwd" to there?
 
Old 05-29-2007, 10:07 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,520

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
If the path to x11includes is correct there is no need to edit anything.
Did you run "make realclean" before recompiling?
 
Old 06-08-2007, 08:49 PM   #5
Guilherme
Member
 
Registered: Jul 2006
Posts: 83

Original Poster
Rep: Reputation: 15
ok I did it ... so I runned "make linux-x86" ... and now it is working ... I belive it will be fine
thanks a lot
 
  


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
Problem when "Make"ing moodin splash engine [DK]LaMa Linux - Software 0 03-20-2006 03:15 PM
problems make-ing rob101 Linux - Software 10 10-26-2005 07:22 AM
error when "make"ing stuff jimjamjahaa Linux - Newbie 9 05-25-2005 10:55 AM
Error make-ing glibc-2.3.4 Hal Linux - General 7 03-21-2005 03:09 PM
iproute2 make troble e1000 Slackware 1 01-08-2004 03:34 PM


All times are GMT -5. The time now is 08:30 PM.

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