forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Where is sysconf and pspIrKeyb*, located?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
asphodeli



Joined: 29 Jun 2008
Posts: 20
Location: Singapore

PostPosted: Mon Oct 27, 2008 10:21 am    Post subject: Where is sysconf and pspIrKeyb*, located? Reply with quote

Hi all,
I'm having trouble compiling my app with a library, and I'm getting these errors:
Code:

/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventQuit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:274: undefined reference to `pspIrKeybFinish'
/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventInit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:247: undefined reference to `pspIrKeybInit'
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:249: undefined reference to `pspIrKeybOutputMode'
/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_PumpEvents':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:112: undefined reference to `pspIrKeybReadinput'
collect2: ld returned 1 exit status
make: *** [HelloWorld.elf] Error 1


Also, I'm getting "undefined reference to 'sysconf'", which I understand is in unistd.h, but when I #include it in my app, it still throws me the error.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Oct 28, 2008 2:00 am    Post subject: Re: Where is sysconf and pspIrKeyb*, located? Reply with quote

asphodeli wrote:
Hi all,
I'm having trouble compiling my app with a library, and I'm getting these errors:
Code:

/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventQuit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:274: undefined reference to `pspIrKeybFinish'
You need -lpspirkeyb
Quote:
Also, I'm getting "undefined reference to 'sysconf'", which I understand is in unistd.h, but when I #include it in my app, it still throws me the error.
The PSP doesn't have sysconf.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Oct 28, 2008 5:36 am    Post subject: Reply with quote

The library pspirkeyb is in the repo, but it's pretty out of date. I posted a much newer version in a thread here, and there's an even newer version in the new version of pikey that is coming soon.
Back to top
View user's profile Send private message AIM Address
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Thu Nov 06, 2008 10:28 am    Post subject: Reply with quote

THE very very latest version is found here:

http://piKey.Kloplop321.com/Release/PSPIRKeyB_Lib.zip

Since Harald can no longer be contacted, I'll update the lib for now.

This version has key repeats (adjusted in the "PSPIRKeyB.ini"), new drivers and software to code new drivers. A tutorial on how to do this will be next. (Maybe even software to write each key value in a file???)


Last edited by angelo on Fri Nov 07, 2008 3:34 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Nov 06, 2008 3:22 pm    Post subject: Reply with quote

I think he meant to say, look at his new thread on the 0.0.5 version of pspirkeyb. :D

http://forums.ps2dev.org/viewtopic.php?t=11222
Back to top
View user's profile Send private message AIM Address
asphodeli



Joined: 29 Jun 2008
Posts: 20
Location: Singapore

PostPosted: Thu Nov 06, 2008 5:00 pm    Post subject: Reply with quote

odd, his post isn't displayed :) Anyway won't be using IR keyboards, just need to link to it cause the code (not done by me) needs it somehow
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group