[fpc-pascal] Help converting h-file
Henry Vermaak
henry.vermaak at gmail.com
Mon Sep 15 22:48:52 CEST 2008
2008/9/15 Koenraad Lelong <koen1 at brouwerij.homelinux.net>:
> ....
> Searching file /opt/arcom/bin/arm-linux-ld... found
> Using util /opt/arcom/bin/arm-linux-ld
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `getpagesize'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `getenv'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `malloc'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `open'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `mmap'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `printf'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `printf'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `free'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `printf'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_open':
> : undefined reference to `printf'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_close':
> : undefined reference to `munmap'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_close':
> : undefined reference to `close'
> /opt/arcom/bin/../arm-linux/lib/libdevmem.a(libdevmem.o): In function
> `libdevmem_close':
> : undefined reference to `free'
> testdevmem.pas(29,1) Error: Error while linking
> testdevmem.pas(29,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
> I think I'm missing some file to link in, but I think I included every
seems like it's not finding libc?
henry
More information about the fpc-pascal
mailing list