Linux では警告なしで正常にコンパイルおよび実行される C プログラムがありますが、SunOS でコンパイルしようとすると、次の警告が表示されます。
test.c: In function `my_function':
test.c:412: warning: implicit declaration of function `strerror_r'
Undefined first referenced
symbol in file
strerror_r /var/tmp/ccRiPoGl.o
ld: fatal: Symbol referencing errors. No output written to test
collect2: ld returned 1 exit status
make: *** [test] Error 1
何か案は?