![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" | iBot | UNIX and Linux RSS News | 0 | 01-04-2008 12:00 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 10:52 PM |
| how could i make a program mixed with many "|", "<" and ">" | strugglingman | High Level Programming | 2 | 04-29-2006 05:11 AM |
| No utpmx entry: you must exec "login" from lowest level "shell" | peterpan | UNIX for Dummies Questions & Answers | 0 | 01-18-2006 01:15 AM |
| Getting problem in linking using "ldd" | mail2virag | AIX | 4 | 09-29-2005 01:03 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
aCC runtime: Use of "-mt" must be consistent during both compilation and linking
Hi all.
I'm getting the a runtime error: aCC runtime: Use of "-mt" must be consistent during both compilation and linking I build my executable with -mt and I link with libraries that were compiled with -mt too (we have other executables that links with them and don't have this problem). The problem occurs when the executable ends and is not consistent. Sys info: > uname -a HP-UX hpx418 B.11.23 U ia64 1139467043 unlimited-user license > aCC -V aCC: HP C/aC++ B3910B A.06.13 [Nov 27 2006] Anybody has any ideas? I'm pretty lost here. Thanks, Sela. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Are these libraries static or dynamic?
Are they compiled with the same version of compiler? Are all options the same? Do you have "-mt" in your link line? On HPUX I personally use -D_REENTRANT -lpthread |
|||
| Google The UNIX and Linux Forums |