help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Linking error in AIX 6.1 for glpk 4.47


From: Reginald Beardsley
Subject: Re: [Help-glpk] Linking error in AIX 6.1 for glpk 4.47
Date: Sun, 30 Dec 2012 05:40:46 -0800 (PST)

Souvik,

Please send me  the console output from the compile and link using the AIX equivalent of "CC -v" on Solaris and the output from "nm -Ago libglpk.a" and "nm -Ago your_main.o".   You may need to check the man pages.  I'm on Solaris and don't recall the exact AIX options.

The error suggests name mangling was used for the library compile, but not the application.  There's a smaller chance that AIX is objecting to symbols starting with an underscore.  Those are often reserved for internal compiler symbols.  As I recall  AIX was a bit more strict than other systems about such things.

Have Fun!
Reg

--- On Sat, 12/29/12, Souvik Sutradhar <address@hidden> wrote:

From: Souvik Sutradhar <address@hidden>
Subject: [Help-glpk] Linking error in AIX 6.1 for glpk 4.47
To: address@hidden
Cc: address@hidden
Date: Saturday, December 29, 2012, 12:30 PM

Hi
I am trying to run a c++ program in IBM AIX 6.1, which is using glpk 4.47. The same program is running on SOLARIS, Linux and HP-UX platform. But when I am trying to run the program on AIX, compilation is successful but at the time of linking it is giveing the following error
 
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_create_prob
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_set_prob_name
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_add_rows
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_add_cols
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_set_row_bnds
ld: 0711-317 ERROR: Undefined symbol: ._glp_lpx_set_col_name
....
 
I have included the library path of glpk and the libglpk.a library in link command.
 

Thanks & Regards,


Souvik Sutradhar

Senior Software Engineer | Service Group

Signature

PS Srijan Tech Park, 4th Floor, DN-52, Salt Lake Sector V, Kolkata-700091, India.

T : +91-33-40134880 | M : +91-9836987928

E : address@hidden | W : www.ushacomm.com | Time Zone: GMT +5:30


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


-----Inline Attachment Follows-----

_______________________________________________
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]