Guest
#1172181
My project - work witch jpg files - compress/decompress Function give error > from free jpglib > jpeg_create_compress(&zip_cinfo); Make all > Linking: main.elf . . . . c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/thumb/int erwork\libc.a(tmpnam.o): In function `worker': tmpnam.c:(.text+0x32): undefined reference to `_open_r' c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/thumb/int erwork\libc.a(tmpnam.o): In function `_tempnam_r': tmpnam.c:(.text+0xa4): undefined reference to `_getpid_r' c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/thumb/int erwork\libc.a(tmpnam.o): In function `_tmpnam_r': tmpnam.c:(.text+0x10c): undefined reference to `_getpid_r' c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/thumb/int erwork\libc.a(fopen.o): In function `_fopen_r': fopen.c:(.text+0x2c): undefined reference to `_open_r' c:/winarm/bin/../lib/gcc/arm-elf/4.1.1/../../../../arm-elf/lib/thumb/int erwork\libc.a(remove.o): In function `_remove_r': remove.c:(.text+0x2): undefined reference to `_unlink_r' collect2: ld returned 1 exit status make: *** [main.elf] Error 1 If compili this project in IAR, no Error. What lib use for correct this error ? Who type in makefile ?