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 

issue in svn 792

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



Joined: 25 Jun 2005
Posts: 23
Location: paris

PostPosted: Thu Jul 28, 2005 6:09 pm    Post subject: issue in svn 792 Reply with quote

It seems in latest svn there is an issue with __errno which is not defined.
I've to put it in my sourcecode in order to compile.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jason867



Joined: 24 Jul 2005
Posts: 78

PostPosted: Thu Jul 28, 2005 8:55 pm    Post subject: Reply with quote

I don't know if this is a coincidence or what, but I've been having problems getting the toolchain script to run properly, and when I perform the fourth process, './toolchain.sh -d -p' it gives errors and at one point it says, "Checked out revision 792" Since it's the same number, I didn't know if it was related or not...
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
Back to top
View user's profile Send private message Visit poster's website
yoyofr



Joined: 25 Jun 2005
Posts: 23
Location: paris

PostPosted: Thu Jul 28, 2005 10:35 pm    Post subject: Reply with quote

right now I'm using a previous version, it seems to work better.
I guess we'll have to have wait for an update.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jul 28, 2005 11:50 pm    Post subject: Reply with quote

It would be helpful if either, or both, of you would post the actual errors you're having instead of just waving your arms around in some nebulous fashion and sitting around for an update.
Back to top
View user's profile Send private message Visit poster's website
jason867



Joined: 24 Jul 2005
Posts: 78

PostPosted: Fri Jul 29, 2005 1:11 am    Post subject: Reply with quote

True, I didn't post the errors here, although I did on my 'how long does ./toolchain.sh take' thread a few days ago, and I have yet been contacted with anyone who might have a clue what those errors mean. The only person to reply was a fellow who tried something and found that it worked and suggested I try the same, although he/she didn't seem to have a clue what the error meant either.

[edit] The errors I posted a few days ago are not the same ones that I asked about here.
_________________
Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew!
Back to top
View user's profile Send private message Visit poster's website
Agoln



Joined: 08 Jun 2005
Posts: 326
Location: Fort Wayne, IN

PostPosted: Fri Jul 29, 2005 1:15 am    Post subject: Reply with quote

jason867 wrote:
True, I didn't post the errors here, although I did on my 'how long does ./toolchain.sh take' thread a few days ago, and I have yet been contacted with anyone who might have a clue what those errors mean. The only person to reply was a fellow who tried something and found that it worked and suggested I try the same, although he/she didn't seem to have a clue what the error meant either.


Although you did post those errors, and not many people know what they mean, at least we have a starting point on where to help you out. With this error, it may at least be a common error, or an error easily fixed, if we knew what it was.
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
yoyofr



Joined: 25 Jun 2005
Posts: 23
Location: paris

PostPosted: Fri Jul 29, 2005 1:58 am    Post subject: Reply with quote

Quote:
It would be helpful if either, or both, of you would post the actual errors you're having instead of just waving your arms around in some nebulous fashion and sitting around for an update.


woua, you're quite nervous today ? ;-)
I was thinking my description was enough :

if you compile code which relies on errno (for example using a math function as sqrt, or file io stuff), it will fail at linking. I assume something was broken and errno isn't defined in svn 792.
I can provide log if you need tonight when I'll be back at home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
yoyofr



Joined: 25 Jun 2005
Posts: 23
Location: paris

PostPosted: Fri Jul 29, 2005 4:09 am    Post subject: Reply with quote

ok, I'm now back at home, here's what I get if I compile with svn 792 :
Quote:

zlib/gzio.o: In function `destroy':
zlib/gzio.c:349: undefined reference to `__errno'
zlib/gzio.o: In function `check_header':
zlib/gzio.c:252: undefined reference to `__errno'
zlib/gzio.c:252: undefined reference to `__errno'
zlib/gzio.c:252: undefined reference to `__errno'
zlib/gzio.c:252: undefined reference to `__errno'
zlib/gzio.o:zlib/gzio.c:252: more undefined references to `__errno' follow
collect2: ld returned 1 exit status
make: *** [os9xpsp.elf] Error 1



I noticed too that I get some crashes when doing file io stuff (like writing a file), which I haven't if I take an older svn
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
yoyofr



Joined: 25 Jun 2005
Posts: 23
Location: paris

PostPosted: Fri Jul 29, 2005 5:16 am    Post subject: Reply with quote

tried some previous version of svn, and I found that before, errno was defined in libcglue.c, perhaps the issue is related.

here's what I found in an older version in libcglue,
Quote:

/* newlib's errno.h wants a function that returns a pointer to errno. */
#ifdef F_glue___errno
#undef errno

int errno;

/* TODO: Should this be made reentrant (wrapping interrupt disable/enable
around it should do it)? */
int * __errno(void)
{
return &errno;
}
#endif
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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