This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fdopen() linker error


I'm getting the, linker error, but I can't figure out why. 

Anyone?

$ arm-elf-gcc  -Iinstall/include/ -g xxx.c -Linstall/lib -Ttarget.ld 
-nostdlib 
/ecos-c/temp/cc65LofB.o(.text+0x18): In function `main':
/cygdrive/c/cdtworkspace/test/xxx.c:5: undefined reference to `fdopen'
collect2: ld returned 1 exit status


-- 
Øyvind Harboe
http://www.zylin.com
#include <stdio.h>

int main()
{
  FILE *f=fdopen(5, "asfd");
}

Attachment: settings.ecm
Description: Text document

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]