arm7 link error using sprintf
I am getting a like error when building the following code. Can anyone tell me what I am doing wrong/ I am using an ATMEL AT91SAM7x and generic project for a flash based code.
C:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 3.7/lib/libc_v4t_a_le_eabi.a(libc2.o): In function `__aeabi_errno_addr':
1> libc2.c:(.text.libc.__aeabi_errno_addr+0x4): undefined reference to `__aeabi_read_tp'
Build failed
#include <stdio.h>
#include <stdlib.h>
char *buffer[256];
const char *table[]= {"Now it is time/n"};
int main(void)
{
sprintf(buffer,"%s" table);
}
Please sign in to leave a comment.
Comments
1 comment