Solved

Errors in header file ip.h on AIX

Posted on 1997-09-22
1
195 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 131
ODBC Connection Logging, ADO.NET 6 56
Expand data scrubbing tool 13 32
JQuery serialize and unserialize 8 52
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now