Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> xine-hd -> xine-hd-ui compile error:`KEY_PPAGE' undeclared
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
xine-hd-ui compile error:`KEY_PPAGE' undeclared
PostPosted: Tue Jul 26, 2005 6:31 pm Reply with quote
stb029
 
Joined: 26 Jul 2005
Posts: 2
Location: Silver Spring, MD




Hello all,
trying to get xine-hd compiled but hit a bunch of errors during the compile of keys.c
Here's a snippet:
Code:

keys.c: In function `default_key_action':
keys.c:46: error: `KEY_PPAGE' undeclared (first use in this function)
keys.c:46: error: (Each undeclared identifier is reported only once
keys.c:46: error: for each function it appears in.)
keys.c:47: error: `KEY_NPAGE' undeclared (first use in this function)
keys.c:48: error: `KEY_UP' undeclared (first use in this function)
keys.c:49: error: `KEY_DOWN' undeclared (first use in this function)
keys.c:50: error: `KEY_RIGHT' undeclared (first use in this function)
keys.c:51: error: `KEY_LEFT' undeclared (first use in this function)
keys.c:53: error: `KEY_ENTER' undeclared (first use in this function)


I did a grep of the tree but can find no #defines in any headers, although there is a commented out bit in xine-hd-ui-0.99.2/src/aaui/main.c

So my guess is I'm missing some other header somewhere, but which one?

Any help would be appreciated.

Other details:
Fedora Core 3
GeForce MX440
HD3000

Oh, and xine-hd-lib-1-rc6a *did* compile

thanks,
Steve
View user's profile Send private message
Solved!
PostPosted: Sat Jul 30, 2005 1:22 pm Reply with quote
stb029
 
Joined: 26 Jul 2005
Posts: 2
Location: Silver Spring, MD




As pointed out in a different thead - set up for development. I went and installed any dev. package that looked like it might apply, did a make clean and then ./configure and then make workd fine.
View user's profile Send private message
FC 5 x86_64, same but installing xine-devel doesn't help
PostPosted: Sat Aug 26, 2006 3:01 pm Reply with quote
jcllings
 
Joined: 16 Sep 2005
Posts: 13
Location: Washington State




I've got installed:

[root@obsidian xine-hd-ui-0.99.4]# rpm -qa | grep xine
xine-lib-1.1.2-1.fc5
xine-skins-1.10-1.fc
xine-lib-devel-1.1.2-1.fc5
xine-0.99.4-5.fc5
[root@obsidian xine-hd-ui-0.99.4]#

and...

[root@obsidian xine-hd-ui-0.99.4]# rpm -qa | grep gcc
libgcc-4.1.1-1.fc5
gcc-4.1.1-1.fc5
libgcc-4.1.1-1.fc5
gcc-c++-4.1.1-1.fc5

'make' results below:

keys.c: In function ‘default_key_action’:
keys.c:46: error: ‘KEY_PPAGE’ undeclared (first use in this function)
keys.c:46: error: (Each undeclared identifier is reported only once
keys.c:46: error: for each function it appears in.)
keys.c:47: error: ‘KEY_NPAGE’ undeclared (first use in this function)
keys.c:48: error: ‘KEY_UP’ undeclared (first use in this function)
keys.c:49: error: ‘KEY_DOWN’ undeclared (first use in this function)
keys.c:50: error: ‘KEY_RIGHT’ undeclared (first use in this function)
keys.c:51: error: ‘KEY_LEFT’ undeclared (first use in this function)
keys.c:53: error: ‘KEY_ENTER’ undeclared (first use in this function)
keys.c: In function ‘fbxine_keyboard_loop’:
keys.c:89: warning: implicit declaration of function ‘getch’
keys.c:89: warning: nested extern declaration of ‘getch’
keys.c: In function ‘exit_keyboard’:
keys.c:98: warning: implicit declaration of function ‘endwin’
keys.c:98: warning: nested extern declaration of ‘endwin’
keys.c: In function ‘fbxine_init_keyboard’:
keys.c:115: warning: implicit declaration of function ‘initscr’
keys.c:115: warning: nested extern declaration of ‘initscr’
keys.c:116: warning: implicit declaration of function ‘keypad’
keys.c:116: warning: nested extern declaration of ‘keypad’
keys.c:116: error: ‘stdscr’ undeclared (first use in this function)
keys.c:116: error: ‘TRUE’ undeclared (first use in this function)
keys.c:117: warning: implicit declaration of function ‘cbreak’
keys.c:117: warning: nested extern declaration of ‘cbreak’
keys.c:118: warning: implicit declaration of function ‘noecho’
keys.c:118: warning: nested extern declaration of ‘noecho’
keys.c:119: warning: implicit declaration of function ‘intrflush’
keys.c:119: warning: nested extern declaration of ‘intrflush’
keys.c:119: error: ‘FALSE’ undeclared (first use in this function)
keys.c:120: warning: implicit declaration of function ‘meta’
keys.c:120: warning: nested extern declaration of ‘meta’
make[3]: *** [keys.o] Error 1
make[3]: Leaving directory `/root/xine-hd-ui-0.99.4/src/fb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/xine-hd-ui-0.99.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xine-hd-ui-0.99.4'
make: *** [all] Error 2
View user's profile Send private message
xine-hd-ui compile error:`KEY_PPAGE' undeclared
  pcHDTV Forum Index -> xine-hd
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin