Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7711257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:19:46+00:00 2026-06-01T01:19:46+00:00

I have a program that performs some network IO that compiles a 32 bit

  • 0

I have a program that performs some network IO that compiles a 32 bit binary just fine

However, when I set the -m64 option at compile time I get the following rather cryptic error

In file included from /usr/include/sys/stream.h:22,
             from /usr/include/netinet/in.h:62,
             from /usr/include/sys/socket.h:221,
             from operation_networkio.cc:15:
/usr/include/sys/vnode.h:241: error: overflow in array dimension
/usr/include/sys/vnode.h:241: error: size of array `pad' is too large

the offending lines in my source code operation_networkio.cc that are triggering this error in my program seem to be

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>

could someone enlighten me what I am doing wrong and how to cure this ?
I’m using GCC on Solaris sparc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:19:48+00:00Added an answer on June 1, 2026 at 1:19 am

    eventually found that I had -mfaster-structs option enabled on the compilation.

    For some reason removing this option cures this build problem. that causes a 64 bit build to fail, though a 32 bit build works.
    If someone could explain it I’d certainly like to know why

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a C# program that performs some timing measurements. Unfortunately, the first time
I have program that has a variable that should never change. However, somehow, it
i have this problem: I have created a bash script that performs some tasks.
I have a Win32 console program that I wrote and it works fine. The
I converted a program from IDL into CUDA that performs some calculations on a
I was given the assignment to create a program that performs basic set operations.
I have a program that connects to an Oracle database and performs operations on
I have created a GUI program that uses a class to perform some tasks.
In some crunching number program, I have a function which can be just 1
I have program that runs fast enough. I want to see the number of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.