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 

fputs with VLF library

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



Joined: 05 Mar 2008
Posts: 13

PostPosted: Sun Mar 22, 2009 12:48 pm    Post subject: fputs with VLF library Reply with quote

I cant use fputs and fgets with VLF library

btcnf.c:(.text+0xa14): undefined reference to `fgets'
btcnf.c:(.text+0xa4c): undefined reference to `fputs'
btcnf.c:(.text+0xa68): undefined reference to `fputs'
btcnf.c:(.text+0xad8): undefined reference to `fputs'
btcnf.c:(.text+0xc90): undefined reference to `fgets'
btcnf.c:(.text+0xcb8): undefined reference to `fputs'
btcnf.c:(.text+0xcd4): undefined reference to `fputs'
btcnf.c:(.text+0xd80): undefined reference to `fputs'
collect2: ld returned 1 exit status
make: *** [btcnf.elf] Error 1

I see errors like that.. what should I do?
Back to top
View user's profile Send private message
Need2P



Joined: 21 Mar 2009
Posts: 6

PostPosted: Sun Mar 22, 2009 2:00 pm    Post subject: Reply with quote

Did you include the VLF Library somewhere?
like: #include "thelibrary.extension"
or: #include <thelibrary.extension>
Back to top
View user's profile Send private message
slasher2661996



Joined: 22 Feb 2009
Posts: 91
Location: Melbourne Australia ZOMG

PostPosted: Sun Mar 22, 2009 2:11 pm    Post subject: Reply with quote

OMFG.

READ B4 YOU POST. PERIOD
Back to top
View user's profile Send private message
blu_eye4



Joined: 26 Oct 2008
Posts: 37

PostPosted: Sun Mar 22, 2009 7:59 pm    Post subject: Reply with quote

Need2P wrote:
Did you include the VLF Library somewhere?
like: #include "thelibrary.extension"
or: #include <thelibrary.extension>


fgets is a standard C function and it depends from stdio.h.. have you included this file in your source?
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Mar 22, 2009 9:05 pm    Post subject: Reply with quote

I don't think DAX has added that function to VLF. You can only use VLF's internal libc functions AFAIK.
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