Solved

Errors in header file ip.h on AIX

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 98
ffmpeg - "rtsp://...... Operation not permitted" 4 69
centeredAverage challenge 8 124
mapAB Challlenge 35 89
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 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

11 Experts available now in Live!

Get 1:1 Help Now