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

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

 



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.

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
 
 
 


On Friday, 15 November 2013 1:16 AM, Stormy <stormy22@xxxxxxxxx> wrote:
At 06:49 AM 11/15/2013 +0800, you wrote:
>Dear All,
>
>I did not find the solution in google and archiving mail list .
>Hence I am posting my issue here.
>I am trying to install Apache (httpd-2.0.64)
                                ^^^^^^^^^^^^^
<http://www.apache.org/dist/httpd/Announcement2.0.html> "The Apache
Software Foundation and the Apache HTTP Server Project are pleased to
announce the final 2.0 release version 2.0.65 of the Apache HTTP Server
("Apache"). This version of Apache will be the last 2.0 bug and security
fix release, covering many but not all issues addressed in the stable 2.4
and legacy 2.2 released versions."

Personally, I don't always chase the absolute latest version, but 2.2.x
(which I use on hundreds of servers) should be the "legacy" version of
choice (2.4 might allow you more forward flexibility.)

Why 2.0?

Best - Paul





---------------------------------------------------------------------
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