AIX的版本是6.1的,具体是6100-01-09-1015,安装了GCC4.8,打算安装Nginx,安装时候出现编译的错误?
以下编译nginx报错N信息,
ld: 0711-596 SEVERE ERROR: Object objs/src/core/ngx_times.o
An RLD for section 2 (.data) refers to symbol 993,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/core/ngx_cycle.o
An RLD for section 2 (.data) refers to symbol 1282,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/core/ngx_module.o
An RLD for section 2 (.data) refers to symbol 932,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/event/ngx_event.o
An RLD for section 2 (.data) refers to symbol 1192,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/event/ngx_event_timer.o
An RLD for section 2 (.data) refers to symbol 902,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/os/unix/ngx_posix_init.o
An RLD for section 2 (.data) refers to symbol 907,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/os/unix/ngx_process_cycle.o
An RLD for section 2 (.data) refers to symbol 1310,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
ld: 0711-596 SEVERE ERROR: Object objs/src/http/ngx_http.o
An RLD for section 2 (.data) refers to symbol 1658,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
collect2: error: ld returned 12 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
我百度了下解决方式。找到以下两篇内容,但我是初学,看不懂。大神们帮帮我吧
http://www.perzl.org/aix/index.php?n=Main.GCCAssemblerError
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072#c15