Operating System - HP-UX
1836551 Members
1979 Online
110102 Solutions
New Discussion

make error on hpunix 11.31

 
gunwithrose
New Member

make error on hpunix 11.31

I wannt to install ACE on hpunix,but when i execute gmake,the error happend as below:

ld: Unrecognized argument: -mt
Fatal error.

What should I do ??
3 REPLIES 3
Johnson Punniyalingam
Honored Contributor

Re: make error on hpunix 11.31

Hi ,

Check you argument ..?

did you issued command

# gmake -mt

-b, -m
These options are ignored for compatibility with other versions of
make.
-d Print debugging information in addition to normal processing

Regards,
Johnson
Problems are common to all, but attitude makes the difference
Peter Nikitka
Honored Contributor

Re: make error on hpunix 11.31

Hi,

is it just ACE or ACE/TAO?
I would use a distribution of e.g.
www.ociweb.com

There are release notes for compiling it under HP-UX - they tell you all what you need.

BTW: Till 11.23 I used the option '-mt' for the compiler (aCC) only - it tell's the real linker (ld) via the '-mt' all about multithreading options it needs ...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Dennis Handly
Acclaimed Contributor

Re: make error on hpunix 11.31

>ld: Unrecognized argument: -mt

This is not a gmake error but a linker error. Why are you invoking ld directly? (Or using -Wl,-mt?)

>Peter: I used the option -mt for the compiler (aCC) only - it tells ld via the -mt all about multithreading

Yes, -mt is a driver option that tells the compiler and linker what to do.