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 

Linker error when using C++

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
DennisH



Joined: 05 Jul 2005
Posts: 4
Location: Berlin, Germany

PostPosted: Thu Jul 07, 2005 12:24 am    Post subject: Linker error when using C++ Reply with quote

I've encountered an error while linking my project.
At first I used standard C and everything worked fine, then I just switched to C++ without changing anything in the code and I get this linker error:

Quote:
/cygdrive/c/Programme/PSPDev/bin/../lib/gcc/psp/4.0.0/../../../../psp/lib/crt0.o
: In function `__entrytable':
crt0.S:(.rodata.sceResident+0xc): undefined reference to `module_info'
collect2: ld returned 1 exit status
make: *** [pgl.elf] Error 1


I already tried looking for the same problem in Google but haven't found anything so far. I'm about to switch back to C but that would make my project a bit more complicated in the future.
Back to top
View user's profile Send private message
Agoln



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

PostPosted: Thu Jul 07, 2005 12:31 am    Post subject: Reply with quote

Your post is answered HERE
_________________
Lego of my Ago!
Back to top
View user's profile Send private message AIM Address
DennisH



Joined: 05 Jul 2005
Posts: 4
Location: Berlin, Germany

PostPosted: Thu Jul 07, 2005 12:33 am    Post subject: Reply with quote

Wow, thanks.
And sorry for my blindness.
This can be closed now...
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Jul 07, 2005 2:41 am    Post subject: Reply with quote

Closed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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