The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Problem compiling on ubuntu 7.10 - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: Problem compiling on ubuntu 7.10 (/showthread.php?tid=826)



Problem compiling on ubuntu 7.10 - enricox - 11-28-2007

I'm try to compile rev 1876 with ubuntu 7.10 x386 but it get this error:

Code:
build/shader.o: In function `SHADER::UploadActiveShaderParameter1f(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)':
/home/enricox/vdrift/src/shader.cpp:228: undefined reference to `glUniform1f'
build/shader.o: In function `SHADER::UploadActiveShaderParameter1i(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
/home/enricox/vdrift/src/shader.cpp:220: undefined reference to `glUniform1i'
build/shader.o: In function `SHADER::UploadMat16(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float*)':
/home/enricox/vdrift/src/shader.cpp:212: undefined reference to `glUniformMatrix4fv'
build/shader.o: In function `SHADER::EndScene()':
/home/enricox/vdrift/src/shader.cpp:126: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:129: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:132: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:135: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:138: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:145: undefined reference to `glUniform3f'
/home/enricox/vdrift/src/shader.cpp:159: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:162: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:165: undefined reference to `glUniform1f'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.

since few rev ago I was able to compile without problems...any ideas ?


- joevenzon - 11-28-2007

That code hasn't changed for quite a while. It looks like it's having trouble finding the right opengl headers (because it's complaining that it doesn't know about glUniform1, which should be defined in the newest opengl headers). Is there any reason that your opengl headers would have changed recently?