r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: problem with compiling ref_gl
Pages: 1 2 [All]
Print
Author Topic: problem with compiling ref_gl  (Read 11142 times)
xZm`
Member

Posts: 22


« on: June 15, 2007, 08:02:13 am »

what can i do to make it work?:

Code:
../../ref_gl/qgl.h:204: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:204: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:205: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:205: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:206: error: expected ‘)’ before ‘name’
../../ref_gl/qgl.h:207: error: expected ‘)’ before ‘opcode’
../../ref_gl/qgl.h:220: error: expected ‘)’ before ‘mode’
../../ref_gl/qgl.h:221: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:221: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:222: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:222: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:223: error: expected ‘)’ before ‘list’
../../ref_gl/qgl.h:234: error: expected ‘)’ before ‘type’
../../ref_gl/qgl.h:235: error: expected ‘)’ before ‘left’
../../ref_gl/qgl.h:236: error: expected ‘)’ before ‘token’
../../ref_gl/qgl.h:237: error: expected ‘)’ before ‘map’
../../ref_gl/qgl.h:238: error: expected ‘)’ before ‘map’
../../ref_gl/qgl.h:239: error: expected ‘)’ before ‘map’
../../ref_gl/qgl.h:240: error: expected ‘)’ before ‘pname’
../../ref_gl/qgl.h:241: error: expected ‘)’ before ‘pname’
../../ref_gl/qgl.h:242: error: expected ‘)’ before ‘pname’
../../ref_gl/qgl.h:243: error: expected ‘)’ before ‘pname’
../../ref_gl/qgl.h:244: error: expected ‘)’ before ‘xfactor’
../../ref_gl/qgl.h:245: error: expected ‘)’ before ‘size’
../../ref_gl/qgl.h:246: error: expected ‘)’ before ‘face’
../../ref_gl/qgl.h:247: error: expected ‘)’ before ‘factor’
../../ref_gl/qgl.h:248: warning: type defaults to ‘int’ in declaration of ‘GLubyte’
../../ref_gl/qgl.h:248: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:253: error: expected ‘)’ before ‘n’
../../ref_gl/qgl.h:254: error: expected ‘)’ before ‘mask’
../../ref_gl/qgl.h:255: error: expected ‘)’ before ‘mask’
../../ref_gl/qgl.h:257: error: expected ‘)’ before ‘name’
../../ref_gl/qgl.h:258: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:259: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:259: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:260: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:261: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:261: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:264: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:265: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:265: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:266: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:267: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:267: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:268: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:269: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:269: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:272: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:273: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:273: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:274: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:275: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:275: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:276: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:277: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:277: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:280: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:281: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:281: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:282: error: expected ‘)’ before ‘mode’
../../ref_gl/qgl.h:283: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:283: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:283: error: expected declaration specifiers or ‘...’ before ‘GLenum’
../../ref_gl/qgl.h:283: error: expected declaration specifiers or ‘...’ before ‘GLenum’
../../ref_gl/qgl.h:283: error: expected declaration specifiers or ‘...’ before ‘GLvoid’
../../ref_gl/qgl.h:284: error: expected ‘)’ before ‘x1’
../../ref_gl/qgl.h:285: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:285: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:286: error: expected ‘)’ before ‘x1’
../../ref_gl/qgl.h:287: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:287: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:290: error: expected ‘)’ before ‘x1’
../../ref_gl/qgl.h:291: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:291: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:292: error: expected ‘)’ before ‘mode’
../../ref_gl/qgl.h:293: error: expected ‘)’ before ‘angle’
../../ref_gl/qgl.h:294: error: expected ‘)’ before ‘angle’
../../ref_gl/qgl.h:295: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:296: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:297: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:297: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:298: error: expected ‘)’ before ‘size’
../../ref_gl/qgl.h:299: error: expected ‘)’ before ‘mode’
../../ref_gl/qgl.h:300: error: expected ‘)’ before ‘func’
../../ref_gl/qgl.h:301: error: expected ‘)’ before ‘mask’
../../ref_gl/qgl.h:302: error: expected ‘)’ before ‘fail’
../../ref_gl/qgl.h:303: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:304: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:304: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:305: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:306: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:306: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:309: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:310: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:310: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:311: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:312: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:312: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:313: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:314: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:314: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:317: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:318: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:318: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:319: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:320: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:320: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:321: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:322: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:322: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:325: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:326: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:326: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:327: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:328: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:328: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:329: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:330: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:330: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:333: error: expected ‘)’ before ‘s’
../../ref_gl/qgl.h:334: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:334: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:335: error: expected declaration specifiers or ‘...’ before ‘GLenum’
../../ref_gl/qgl.h:335: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:335: warning: type defaults to ‘int’ in declaration of ‘GLvoid’
../../ref_gl/qgl.h:335: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:336: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:337: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:338: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:339: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:340: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:341: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:342: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:343: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:344: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:345: error: expected ‘)’ before ‘coord’
../../ref_gl/qgl.h:346: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:347: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:348: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:349: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:350: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:351: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:352: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:353: error: expected ‘)’ before ‘target’
../../ref_gl/qgl.h:354: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:355: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:356: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:357: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:357: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:358: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:359: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:359: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:362: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:363: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:363: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:364: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:365: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:365: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:366: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:367: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:367: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:370: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:371: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:371: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:372: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:373: warning: type defaults to ‘int’ in declaration of ‘GLdouble’
../../ref_gl/qgl.h:373: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:374: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:375: warning: type defaults to ‘int’ in declaration of ‘GLfloat’
../../ref_gl/qgl.h:375: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:378: error: expected ‘)’ before ‘x’
../../ref_gl/qgl.h:379: warning: type defaults to ‘int’ in declaration of ‘GLshort’
../../ref_gl/qgl.h:379: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:380: error: expected declaration specifiers or ‘...’ before ‘GLenum’
../../ref_gl/qgl.h:380: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:380: warning: type defaults to ‘int’ in declaration of ‘GLvoid’
../../ref_gl/qgl.h:380: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../../ref_gl/qgl.h:381: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:381: error: expected declaration specifiers or ‘...’ before ‘GLsizei’
../../ref_gl/qgl.h:383: error: expected ‘)’ before ‘param’
../../ref_gl/qgl.h:384: error: expected ‘)’ before ‘param’
../../ref_gl/qgl.h:390: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:391: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:392: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:395: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:396: error: expected ‘)’ before ‘const’
../../ref_gl/qgl.h:400: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:401: error: expected ‘)’ before ‘const’
../../ref_gl/qgl.h:402: error: expected declaration specifiers or ‘...’ before ‘*’ token
../../ref_gl/qgl.h:402: warning: type defaults to ‘int’ in declaration of ‘GLboolean’
../../ref_gl/qgl.h:402: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:402: error: ‘GLboolean’ declared as function returning a function
../../ref_gl/qgl.h:403: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:404: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:405: error: expected ‘)’ before ‘GLint’
../../ref_gl/qgl.h:406: error: expected ‘)’ before ‘GLint’
../../ref_gl/qgl.h:407: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:409: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:410: warning: parameter names (without types) in function declaration
../../ref_gl/qgl.h:455: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:468: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../../ref_gl/qgl.h:469: error: expected declaration specifiers or ‘...’ before ‘*’ token
../../ref_gl/qgl.h:469: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:470: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:471: error: expected declaration specifiers or ‘...’ before ‘*’ token
../../ref_gl/qgl.h:471: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:472: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:473: error: expected ‘)’ before ‘*’ token
../../ref_gl/qgl.h:476: error: expected ‘)’ before ‘target’
In file included from ../../ref_gl/gl_draw.c:23:
../../ref_gl/gl_local.h:324: error: expected ‘)’ before ‘target’
../../ref_gl/gl_local.h:325: error: expected ‘)’ before ‘value’
../../ref_gl/gl_local.h:327: warning: parameter names (without types) in function declaration
../../ref_gl/gl_local.h:522: error: expected specifier-qualifier-list before ‘GLenum’
../../ref_gl/gl_draw.c: In function ‘Draw_InitLocal’:
../../ref_gl/gl_draw.c:56: warning: implicit declaration of function ‘qglTexParameterf’
../../ref_gl/gl_draw.c:56: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:56: error: (Each undeclared identifier is reported only once
../../ref_gl/gl_draw.c:56: error: for each function it appears in.)
../../ref_gl/gl_draw.c:56: error: ‘GL_TEXTURE_MIN_FILTER’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:56: error: ‘GL_NEAREST’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:57: error: ‘GL_TEXTURE_MAG_FILTER’ undeclared (first use in this function)
../../ref_gl/gl_draw.c: In function ‘Draw_AddText’:
../../ref_gl/gl_draw.c:80: warning: implicit declaration of function ‘qglBegin’
../../ref_gl/gl_draw.c:80: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:97: warning: implicit declaration of function ‘qglTexCoord2f’
../../ref_gl/gl_draw.c:98: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:98: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:100: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:100: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:102: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:102: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:104: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:104: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c: In function ‘Draw_Char’:
../../ref_gl/gl_draw.c:159: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:161: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:161: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:163: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:163: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:165: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:165: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:167: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:167: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c: In function ‘Draw_StretchPic’:
../../ref_gl/gl_draw.c:235: warning: implicit declaration of function ‘qglDisable’
../../ref_gl/gl_draw.c:235: error: ‘GL_ALPHA_TEST’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:240: warning: implicit declaration of function ‘qglEnable’
../../ref_gl/gl_draw.c:240: error: ‘GL_BLEND’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:241: warning: implicit declaration of function ‘GL_TexEnv’
../../ref_gl/gl_draw.c:241: error: ‘GL_MODULATE’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:245: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:247: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:247: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:249: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:249: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:251: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:251: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:253: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:253: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:258: error: ‘GL_REPLACE’ undeclared (first use in this function)
../../ref_gl/gl_draw.c: In function ‘Draw_Pic’:
../../ref_gl/gl_draw.c:288: error: ‘GL_ALPHA_TEST’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:293: error: ‘GL_BLEND’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:294: error: ‘GL_MODULATE’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:299: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:301: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:301: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:303: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:303: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:305: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:305: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:307: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:307: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:312: error: ‘GL_REPLACE’ undeclared (first use in this function)
../../ref_gl/gl_draw.c: In function ‘Draw_TileClear’:
../../ref_gl/gl_draw.c:342: error: ‘GL_ALPHA_TEST’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:345: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:347: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:347: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:349: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:349: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:351: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:351: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:353: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:353: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c: In function ‘Draw_Fill’:
../../ref_gl/gl_draw.c:379: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:382: warning: implicit declaration of function ‘qglColor3f’
../../ref_gl/gl_draw.c:386: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:388: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:388: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:389: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:389: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:390: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:390: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:391: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:391: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c: In function ‘Draw_FadeScreen’:
../../ref_gl/gl_draw.c:408: error: ‘GL_BLEND’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:409: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:410: warning: implicit declaration of function ‘qglColor4f’
../../ref_gl/gl_draw.c:411: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:414: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:415: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:415: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:416: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:419: warning: implicit declaration of function ‘qglColor4fv’
../../ref_gl/gl_draw.c: In function ‘Draw_StretchRaw’:
../../ref_gl/gl_draw.c:480: warning: implicit declaration of function ‘qglTexImage2D’
../../ref_gl/gl_draw.c:480: error: ‘GL_TEXTURE_2D’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:480: error: ‘GL_RGBA’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:480: error: ‘GL_UNSIGNED_BYTE’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:507: error: ‘GL_COLOR_INDEX’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:511: error: ‘GL_TEXTURE_MIN_FILTER’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:511: error: ‘GL_LINEAR’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:512: error: ‘GL_TEXTURE_MAG_FILTER’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:515: error: ‘GL_ALPHA_TEST’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:517: error: ‘GL_QUADS’ undeclared (first use in this function)
../../ref_gl/gl_draw.c:519: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:519: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:521: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:521: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:523: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:523: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:525: warning: passing argument 1 of ‘qglVertex2i’ makes pointer from integer without a cast
../../ref_gl/gl_draw.c:525: warning: passing argument 2 of ‘qglVertex2i’ makes pointer from integer without a cast
make: *** [gl_draw.o] Fehler 1

thanks! Smiley

greetz!


edit: some information:

my sys is running ubuntu linux edgy
my gcc version is 4.1.2
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #1 on: June 15, 2007, 11:02:34 am »

It looks like you are missing OpenGL development files, make sure they are installed as well as SDL.
Logged
xZm`
Member

Posts: 22


« Reply #2 on: June 16, 2007, 08:05:12 am »

It looks like you are missing OpenGL development files, make sure they are installed as well as SDL.

ok, i installed some more sdl and opengl packages, now the message is:

Quote
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_rmain.d -MMD   -c -o gl_rmain.o ../../ref_gl/gl_rmain.c
../../ref_gl/gl_rmain.c: In function ‘R_Init’:
../../ref_gl/gl_rmain.c:1572: warning: pointer targets in assignment differ in signedness
../../ref_gl/gl_rmain.c:1574: warning: pointer targets in assignment differ in signedness
../../ref_gl/gl_rmain.c:1576: warning: pointer targets in assignment differ in signedness
../../ref_gl/gl_rmain.c:1578: warning: pointer targets in assignment differ in signedness
../../ref_gl/gl_rmain.c:1582: warning: implicit declaration of function ‘strlwr’
../../ref_gl/gl_rmain.c:1840: warning: pointer targets in passing argument 2 of ‘qglGenQueriesARB’ differ in signedness
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_rmisc.d -MMD   -c -o gl_rmisc.o ../../ref_gl/gl_rmisc.c
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_rsurf.d -MMD   -c -o gl_rsurf.o ../../ref_gl/gl_rsurf.c
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_warp.d -MMD   -c -o gl_warp.o ../../ref_gl/gl_warp.c
../../ref_gl/gl_warp.c: In function ‘R_SetSky’:
../../ref_gl/gl_warp.c:653: warning: implicit declaration of function ‘strlwr’
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_sdl.d -MMD   -c -o gl_sdl.o ../../linux/gl_sdl.c
../../linux/gl_sdl.c:815: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GLimp_SetMode’
make[1]: *** [gl_sdl.o] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/quake2/r1q2/binaries/ref_gl'
make: *** [ref_gl] Fehler 2
elixxx@marvin:/tmp/quake2/r1q2/binaries$
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #3 on: June 16, 2007, 01:01:56 pm »

Use the source from CVS.
Logged
xZm`
Member

Posts: 22


« Reply #4 on: June 16, 2007, 08:01:47 pm »

k ill try it!
Logged
xZm`
Member

Posts: 22


« Reply #5 on: June 16, 2007, 08:04:29 pm »

k ill try it!

hum, sorry (i feel like a real noob atm Wink)
whats the cvs-address for r1q2/r1gl?
Logged
xZm`
Member

Posts: 22


« Reply #6 on: June 16, 2007, 08:09:04 pm »

ok, sorry, i'm really dumb... i got it, BUT... now it stucks at r1q2ded...:

Quote
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/q_shared.d -MMD   -c -o q_shared.o ../../game/q_shared.c
../../game/q_shared.c:344: error: ‘uint32’ redeclared as different kind of symbol
../../game/q_shared.h:141: error: previous declaration of ‘uint32’ was here
../../game/q_shared.c:349: error: redefinition of ‘Q_fastfloats’
../../game/q_shared.h:327: error: previous definition of ‘Q_fastfloats’ was here
make[1]: *** [q_shared.o] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/quake2/r1q2/binaries/r1q2ded'
make: *** [r1q2ded] Fehler 2
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #7 on: June 16, 2007, 10:18:21 pm »

Hmm, this seems to be a conflict with some of the recent Win64 commits I did. Hang on until I fix it or use q_shared.c / q_shared.h from the .zip.
Logged
xZm`
Member

Posts: 22


« Reply #8 on: June 17, 2007, 04:04:33 am »

ok, thanks! Smiley
Logged
xZm`
Member

Posts: 22


« Reply #9 on: June 18, 2007, 10:55:37 am »

ok, i try to use the q_shared files from the zip archive, but now make stops at compiling the game binary...:

Quote
make -C r1q2ded
make[1]: Betrete Verzeichnis '/home/elixxx/r1q2/binaries/r1q2ded'
make[1]: Für das Ziel »default« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/elixxx/r1q2/binaries/r1q2ded'
make -C client
make[1]: Betrete Verzeichnis '/home/elixxx/r1q2/binaries/client'
make[1]: Für das Ziel »default« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/elixxx/r1q2/binaries/client'
make -C game
make[1]: Betrete Verzeichnis '/home/elixxx/r1q2/binaries/game'
Makefile:6: *** missing separator.  Schluss.
make[1]: Verlasse Verzeichnis '/home/elixxx/r1q2/binaries/game'
make: *** [game] Fehler 2

hope i do not annoy you with all my problems... :/
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #10 on: June 18, 2007, 04:19:47 pm »

You might need to replace that Makefile too, it seems there was a conflict?

I'll have it all sorted out soon I hope Smiley
Logged
xZm`
Member

Posts: 22


« Reply #11 on: June 19, 2007, 12:19:50 am »

ok, it worked with the old makefile, but now, next one appears:

Quote
make -C ref_gl
make[1]: Betrete Verzeichnis '/home/elixxx/r1q2/binaries/ref_gl'
cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_draw.d -MMD   -c -o gl_draw.o ../../ref_gl/gl_draw.c
../../ref_gl/gl_draw.c:530: fatal error: opening dependency file .depends/gl_draw.d: No such file or directory
compilation terminated.
make[1]: *** [gl_draw.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/elixxx/r1q2/binaries/ref_gl'
make: *** [ref_gl] Fehler 2
Logged
incith
Member

Posts: 27



« Reply #12 on: June 19, 2007, 01:41:21 am »

I made a small script for generating dependencies.

In your binaries/ folder, create this script, I call it makedeps.sh:

Code:
#!/bin/sh
rm -rf client/.depends
mkdir client/.depends
for i in ../client/*.c; do gcc -MM $i > $PWD/client/.depends/`basename $i`.d; done
for i in $PWD/client/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done client.
rm -rf game/.depends
mkdir game/.depends
for i in ../game/*.c; do gcc -MM $i > $PWD/game/.depends/`basename $i`.d; done
for i in $PWD/game/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done game.
rm -rf r1q2ded/.depends
mkdir r1q2ded/.depends
for i in ../server/*.c; do gcc -MM $i > $PWD/r1q2ded/.depends/`basename $i`.d; done
for i in $PWD/r1q2ded/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done r1q2ded.

Then run chmod +x makedeps.sh, and run it: ./makedeps.sh, and it will generate dependencies for client, game, and r1q2ded/server.

Edit: Expanded the script to make dependencies for everything.
« Last Edit: June 19, 2007, 01:49:36 am by incith » Logged
xZm`
Member

Posts: 22


« Reply #13 on: June 19, 2007, 02:02:26 am »

I made a small script for generating dependencies.

In your binaries/ folder, create this script, I call it makedeps.sh:

Code:
#!/bin/sh
rm -rf client/.depends
mkdir client/.depends
for i in ../client/*.c; do gcc -MM $i > $PWD/client/.depends/`basename $i`.d; done
for i in $PWD/client/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done client.
rm -rf game/.depends
mkdir game/.depends
for i in ../game/*.c; do gcc -MM $i > $PWD/game/.depends/`basename $i`.d; done
for i in $PWD/game/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done game.
rm -rf r1q2ded/.depends
mkdir r1q2ded/.depends
for i in ../server/*.c; do gcc -MM $i > $PWD/r1q2ded/.depends/`basename $i`.d; done
for i in $PWD/r1q2ded/.depends/*.c.d; do mv $i ${i/.c.d/.d}; done
echo Done r1q2ded.

Then run chmod +x makedeps.sh, and run it: ./makedeps.sh, and it will generate dependencies for client, game, and r1q2ded/server.

Edit: Expanded the script to make dependencies for everything.

thx, but the script says:

./makedeps.sh: 5: Syntax error: Bad substitution
Logged
incith
Member

Posts: 27



« Reply #14 on: June 19, 2007, 02:47:43 am »

Try this version instead:
Code:
#!/bin/sh
rm -rf client/.depends
mkdir client/.depends
for i in ../client/*.c; do gcc -MM $i > $PWD/client/.depends/`basename $i`.d; done
for i in $PWD/client/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done client.
rm -rf game/.depends
mkdir game/.depends
for i in ../game/*.c; do gcc -MM $i > $PWD/game/.depends/`basename $i`.d; done
for i in $PWD/game/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done game.
rm -rf r1q2ded/.depends
mkdir r1q2ded/.depends
for i in ../server/*.c; do gcc -MM $i > $PWD/r1q2ded/.depends/`basename $i`.d; done
for i in $PWD/r1q2ded/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done r1q2ded.

I'm not sure why your mv does not support the substitution, and you should have the sed program at least.  If this one doesn't work, let me know.  Tested and working for me.
Logged
xZm`
Member

Posts: 22


« Reply #15 on: June 19, 2007, 04:56:38 am »

mhh, script is working now, but still same failure at compiling ref_gl:
../../ref_gl/gl_draw.c:530: fatal error: opening dependency file .depends/gl_draw.d: No such file or directory

seems like your script doesn't build dependencies for the ref_gl???
Logged
xZm`
Member

Posts: 22


« Reply #16 on: June 19, 2007, 05:07:45 am »

ok, i added ref_gl on my own and it seems to work...

will post if the complete process works in some minutes!
Logged
xZm`
Member

Posts: 22


« Reply #17 on: June 19, 2007, 05:23:18 am »

it works! its really great!

only problem: some tga-files seem to be invalid...

but i think this hasnt something to do with r1q2

THX for your help!
Logged
xZm`
Member

Posts: 22


« Reply #18 on: June 19, 2007, 05:44:18 am »

ah, i forgot: if someone has the same problem: here my makedeps.sh script (which includes the dependencies of ref_gl):

Code:
#!/bin/sh
rm -rf client/.depends
mkdir client/.depends
for i in ../client/*.c; do gcc -MM $i > $PWD/client/.depends/`basename $i`.d; done
for i in $PWD/client/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done client.
rm -rf game/.depends
mkdir game/.depends
for i in ../game/*.c; do gcc -MM $i > $PWD/game/.depends/`basename $i`.d; done
for i in $PWD/game/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done game.
rm -rf r1q2ded/.depends
mkdir r1q2ded/.depends
for i in ../server/*.c; do gcc -MM $i > $PWD/r1q2ded/.depends/`basename $i`.d; done
for i in $PWD/r1q2ded/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done r1q2ded.
rm -rf ref_gl/.depends
mkdir ref_gl/.depends
for i in ../ref_gl/*.c; do gcc -MM $i > $PWD/ref_gl/.depends/`basename $i`.d; done
for i in $PWD/ref_gl/.depends/*.c.d; do mv $i `echo $i | sed -e 's/\.c\.d/\.d/g'`; done
echo Done ref_gl.
Logged
xZm`
Member

Posts: 22


« Reply #19 on: June 19, 2007, 07:49:59 am »

ah, it seems that it has still something to do with r1gl...

       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH 
             (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2006-10-13 15:40)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' failed
    --> No such device
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
SDL Init failed: DirectFBCreate: Initialization error!

==== ShutdownGame ====
Error: SDL Init failed: DirectFBCreate: Initialization error!

what can i do against this?
Logged
xZm`
Member

Posts: 22


« Reply #20 on: June 19, 2007, 08:06:46 am »

ok, sorry, i solved that SDL problem... but still there are 2 lines left:


dlopen(): /home/elixxx/quake2/./baseq2/gamei386.so: undefined symbol: Sys_DebugBreak
Attempting to load with lazy symbols...ok

and

ERROR: LoadTGA: (env/unit1_rt.tga): Pointer passed end of file - corrupt TGA file


think first one is not a problem, but may of interest for you, R1CH...
but 2nd... i do not know how to solve it, must depend on ref_gl or the opengl modus at general...
i can see that quake works in softx modus, but in softx modus all is colored and so on (doesn't really work), and of course i want to play in opengl modus...
Logged
turol
Member

Posts: 10


« Reply #21 on: June 19, 2007, 09:16:01 am »

Code:
#!/bin/sh
rm -rf client/.depends
mkdir client/.depends
...snip...

You don't need to do that, just create the directories. The build will create the dependency files automatically.
Logged
xZm`
Member

Posts: 22


« Reply #22 on: June 19, 2007, 09:27:55 am »

You don't need to do that, just create the directories. The build will create the dependency files automatically.


ok, i just continued, what others did before Wink

but, thanks!
Logged
incith
Member

Posts: 27



« Reply #23 on: June 19, 2007, 02:16:19 pm »

You don't need to do that, just create the directories. The build will create the dependency files automatically.
Ah.  So it does.
Logged
incith
Member

Posts: 27



« Reply #24 on: June 19, 2007, 02:34:10 pm »

ok, sorry, i solved that SDL problem... but still there are 2 lines left:


dlopen(): /home/elixxx/quake2/./baseq2/gamei386.so: undefined symbol: Sys_DebugBreak
Attempting to load with lazy symbols...ok
This can be 'solved' by commenting out, roughly, line 489 in game/q_shared.h:
Code:
//void  Sys_DebugBreak (void);
(The two // comment this line).  Then recompile everything.  Not a big deal tho like you said.
Logged
xZm`
Member

Posts: 22


« Reply #25 on: June 20, 2007, 06:30:06 am »

ok, i'll try it... someone an idea whats wrong with the corrupted files?
Logged
xZm`
Member

Posts: 22


« Reply #26 on: June 21, 2007, 05:58:38 am »

noone an idea? :8
Logged
Pages: 1 2 [All]
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: problem with compiling ref_gl
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines