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 8581457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:03:18+00:00 2026-06-11T21:03:18+00:00

On running make command, I get the following output, g++ -DUNIX -Wall -g -I../include

  • 0

On running make command, I get the following output,

g++ -DUNIX -Wall -g -I../include -I. main.o hfpage.o hfp_driver.o                      test_driver.o db.o new_error.o page.o system_defs.o buf.o -o hfpage 

/usr/bin/ld: Warning: size of symbol `error_string_table::error_string_table(Status, char const**)' changed   from 18 in db.o to 34 in buf.o
/usr/bin/ld: i386:x86-64 architecture of input file `buf.o' is  incompatible with i386 output
collect2: ld returned 1 exit status
make: *** [hfpage] Error 1

This file generates hfpage.o which when I try to run using ./hfpage.o I get and error message bash: ./hfpage.o: cannot execute binary file.

Is there something wrong with my system?

  • 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-11T21:03:20+00:00Added an answer on June 11, 2026 at 9:03 pm

    Okay, first, the error messages says buf.o was compiled for another architecture, probably 32 bit on a 64 bit machine.

    The reason you can’t run ./hprof.o is that hprof.o is a binary object, not an executable. If this compile had completed, since you have no -o flag, the executable would be named a.out which for historical reasons is the default name of a UNIX executable.

    Your problem probably comes in an earlier step in the make file. Basically, you should have several lines like

    main.o: 
       g++ -DUNIX -Wall -g -I../include -I. -c main.C
    

    and then a final line like

    main:
       g++ -DUNIX -Wall -g -o main main.o hfpage.o hfp_driver.o
    

    The architecture message suggests you compiled buf.o with a different compiler or compiler flags.

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

Sidebar

Related Questions

When I run make (after running qmake) I get the following error: /usr/bin/ld: cannot
I'm trying to install memcached-1.2.8-repcached-2.2.1 I have the following error after running make :
I want to assign the output of a shell command into a make variable.
What I am trying to achieve is editing code in vim then running make
I have a basic question. I would like to make running Arc.py several times
I'm running a loop basically that will make an array that contains a million
I'm running into trouble accessing global variables when I make an AJAX call to
How do you make the documentation available after running rake doc:app available within your
I'm running a site that allows users to make comments, and most of them
I have a site running in django and want to make it available on

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.