You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Avi Alkalay <av...@br.ibm.com> on 1998/11/11 15:00:15 UTC

os-aix/3379: Compilation problems with GCC

>Number:         3379
>Category:       os-aix
>Synopsis:       Compilation problems with GCC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Wed Nov 11 06:10:00 PST 1998
>Last-Modified:
>Originator:     avi@br.ibm.com
>Organization:
apache
>Release:        1.3.3
>Environment:
AIX 4.3.1
GCC 2.8.1
uname -a="AIX neve 3 4 000175A24C00"
>Description:
I can't compile Apache. This is the message that I got:

===> src/os/unix
        gcc -c  -I../../os/unix -I../../include   -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX `../../apaci` os.c
In file included from os-aix-dso.c:92,
                 from os.c:20:
/usr/include/ldfcn.h:47: #error -qlonglong must be used
make: The error code from the last command is 1.
>How-To-Repeat:

>Fix:
Yes. Just re-configure it this way:

	CFLAGS=_LONG_LONG; configure

The ldfcn.h file needs this definition to be included.
After that Apache compiles and runs well.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]