| View previous topic :: View next topic |
| Author |
Message |
manatails007
Joined: 05 Mar 2008 Posts: 13
|
Posted: Sun Mar 22, 2009 12:48 pm Post subject: fputs with VLF library |
|
|
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 |
|
 |
Need2P
Joined: 21 Mar 2009 Posts: 6
|
Posted: Sun Mar 22, 2009 2:00 pm Post subject: |
|
|
Did you include the VLF Library somewhere?
like: #include "thelibrary.extension"
or: #include <thelibrary.extension> |
|
| Back to top |
|
 |
slasher2661996
Joined: 22 Feb 2009 Posts: 91 Location: Melbourne Australia ZOMG
|
Posted: Sun Mar 22, 2009 2:11 pm Post subject: |
|
|
OMFG.
READ B4 YOU POST. PERIOD |
|
| Back to top |
|
 |
blu_eye4
Joined: 26 Oct 2008 Posts: 37
|
Posted: Sun Mar 22, 2009 7:59 pm Post subject: |
|
|
| 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 |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Mar 22, 2009 9:05 pm Post subject: |
|
|
| I don't think DAX has added that function to VLF. You can only use VLF's internal libc functions AFAIK. |
|
| Back to top |
|
 |
|