Solved

Errors in header file ip.h on AIX

Posted on 1997-09-22
1
201 Views
Last Modified: 2013-12-26
I'm doing a make on "MySQL" on AIX 4.14 with GCC.

I'm getting module net.c errors in ip.h with "parse error for ip_xhl"

These are the orignial header files that came with the system, could these possibly be corrupted, just crap or does anybody have any ideas what the problem is.
0
Comment
Question by:Shaley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
jos010697 earned 100 total points
ID: 1294986
Some of AIX's header files need preprcocessor constants
to be defined. Most notorious is the _ALL_SOURCE constant.
(add a -D_ALL_SOURCE to the compilers' command line).

I peeked the netinet/ip.h file and I found a _NO_BITFIELDS
constant there which has to be UNdefined if you want to
have BSD compatibilty.

Without seeing your source code, I can't be more specific,
but I'll bet you need to (un)define one of those constants ...

kind regards,

Jos aka jos@and.nl

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
dog bark java program 15 130
java ^ examples 8 72
zeroMAx challenge 20 134
c++  placing data into a form and an editbox 5 46
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question