Re: Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Baskaran, Paul,

Zitat von Stormy <stormy22@xxxxxxxxx>:
At 07:36 PM 11/15/2013 +0800, you wrote:
Dear Paul,
Thank you for your reply.
Now I am trying to install (httpd 2.2.25) version and we get the below error. Kindly help us to resolve the problem.

Sorry - I have little (very old) or no experience on AIX; anyone else?

Paul


make
Making all in srclib
Making all in apr
/bin/sh /GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I./include -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix -I./include/arch/unix -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include -o file_io/unix/filedup.lo -c file_io/unix/filedup.c && touch file_io/unix/filedup.lo
file_io/unix/filedup.c: In function 'file_dup':
file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this function) file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported only once
file_io/unix/filedup.c:49: error: for each function it appears in.)
file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in this function) file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this function)
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.


Thanks & Regards,
Baskaran.V

please try this with a copy of XL C for AIX - iirc gcc assumes these macros to be available from glibc, but on AIX (without glibc) these are in libc instead. xlc ought to compile/link Apache's httpd properly.

Regards,
Jens

PS: The IBM XL C 60-day trial download is at http://www.ibm.com/developerworks/downloads/r/xlcplusaix/index.html - you may need to have to register, though.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux