2008-05-02 11:53:58
到處看看
Solaris10 X86 安裝 Perl 模組發生錯誤
如果發生如下錯誤:
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: XXXXXX.c: linker input file unused because linking not done
修改 Makefile:
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: XXXXXX.c: linker input file unused because linking not done
修改 Makefile:
CCCDLFLAGS = -KPIC
改成:
CCCDLFLAGS =
OPTIMIZE = -xO3 -xspace -xildoff
改成:
OPTIMIZE =
CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO
改成:
CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO
參考: http://kb.atmail.com/?p=114
參考: http://kb.atmail.com/?p=114