Page 1 of 1

SVN HEAD does not compile

Posted: Fri Jul 25, 2008 5:13 am
by maci

Scanning dependencies of target vbam

[ 91%] Building CXX object CMakeFiles/vbam.dir/src/sdl/debugger.o

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/debugger.cpp: In function 'void debuggerDoSearch()':

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/debugger.cpp:1714: warning: comparison between signed and unsigned integer expressions

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/debugger.cpp: At global scope:

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/debugger.cpp:753: warning: 'void debuggerDebug(int, char**)' defined but not used

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/debugger.cpp:764: warning: 'void debuggerVerbose(int, char**)' defined but not used

[ 93%] Building CXX object CMakeFiles/vbam.dir/src/sdl/SDL.o

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp: In function 'void StartLirc()':

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp:375: warning: deprecated conversion from string constant to 'char*'

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp: In function 'void lircCheckInput()':

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp:489: error: 'sdlReadState' was not declared in this scope

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp:491: error: 'sdlWriteState' was not declared in this scope

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp: In function 'void sdlPollEvents()':

/var/tmp/aurbuild/build/vba-m-gtk-svn/vba-m-gtk-svn/src/vbam-build/src/sdl/SDL.cpp:1854: warning: unused variable 'flags'

make[2]: *** [CMakeFiles/vbam.dir/src/sdl/SDL.o] Error 1

make[1]: *** [CMakeFiles/vbam.dir/all] Error 2

make: *** [all] Error 2

 

and yes, i do have SDL properly installed


SVN HEAD does not compile

Posted: Fri Jul 25, 2008 7:47 am
by chrono

SVN HEAD does not compile

Posted: Fri Jul 25, 2008 6:29 pm
by mudlord

Thanks for the heads up chrono.

 

As soon as I get my new HD today, I will rectify this.


SVN HEAD does not compile

Posted: Fri Jul 25, 2008 10:54 pm
by slacker

you know your compiling with lirc support???

 

anyway the problem seems to be it cant access the loading functions

the issue is from my patch hnad lirccheckinput near sdl check input so it can still get to all the needed functions

 

now its much lower and cannot access readstate and writestate

 

easy fix would be to move that function higher so it can read all the needed data.

 

relooking at my patch to see the location i also saw i missed making it remove the link lib if your not compiling with lirc that will prob need to be fixed. but for you seeing as you want lirc just copy from line 422 - 526 to line 1976 that should allow you to compile till they fix the issues