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

The Archive Base Latest Questions

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

I am compiling a program on AIX. It is compiled successfully but gives following

  • 0

I am compiling a program on AIX. It is compiled successfully but gives following warnings:

ld: 0711-224 WARNING: Duplicate symbol: .basename
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I tried to find this symbol I found in my “common.o” file.

nm -X64 -f common.o | fgrep '.basename'

.basename            T        3776         120

But when find this symbol on executable I find following:

nm -X64 CCF | fgrep '.basename'
.basename            T  4295089984         120
.basename            T  4295174672
.basename            t  4295174672          40
  • Can I display the libraries name that contains this symbol?

  • Does this symbol present in my source file ? (may be sound silly but I do not really know)

I have find the answer to this question that it can be traced in source.

  • What steps should I take to remove this warning?
    Also does this duplicate symbol can cause application crash?
    In my case it is crashing.
  • 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-12T02:18:12+00:00Added an answer on June 12, 2026 at 2:18 am

    According to the man page, there are two versions of basename(), one POSIX and one GNU, and it looks like you are linking in both of them. You will need to choose one and suppress the other, depending on your needs. The man page explains how.

    Because they behave differently, code that is compiled for one will likely crash when the linker/loader binds it to the other one. If you have a choice of compilers, choosing the non-gcc one might help.

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

Sidebar

Related Questions

when compiling my program with GCC I get the following warning: format ‘%d’ expects
While compiling a program in Java I got this big WARNING warning: [unchecked] unchecked
I'm compiling a program on my 64bit machine, but I'm not sure if it
I'm having problems compiling the following program. I'm using gcc -framework Foundation inherit8.1m and
I am getting the following error while compiling a sample program in Qt 4.5
I'm getting illegal use of floating point error on compiling the following program. Please
I'm compiling a program on remote linux server. The program compiled. However when I
The -Wconversion GCC parameter produces the warning from the title when compiling this program:
cout and the << operator work fine in compiling c++ program in CYgwin but
My code is the below, it's working correctly but, but after compiling program i

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.