[csw-devel] SF.net SVN: gar:[18417] csw/mgar/pkg/zeromq/trunk/Makefile

Dagobert Michelsen dam at opencsw.org
Wed Jun 20 12:15:46 CEST 2012


Hi Romeo,

Am 19.06.2012 um 05:01 schrieb Romeo Theriault:
> On Fri, Jun 15, 2012 at 9:18 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
>> I just read that libtool keeps -Wl, if you have some spare cycles it would be cool
>> if you could test adding
>>  -Wl,-norunpath
>> without the libtool patch and see if the option makes it to the linker.
> 
> I've been trying to get it to compile with the following:
> 
> EXTRA_LINKER_FLAGS += -Wl
> EXTRA_LINKER_FLAGS += -norunpath
> 
> and also tried
> 
> EXTRA_LINKER_FLAGS += -Wl,-norunpath

This would be the correct syntax, I have also reproduced it, the problem is that -W*
is only understood by cc whereas the flags are needed by CC where this is called -Q*
but this is also stripped by libtool, so no gain in doing it.

> 
> and also,
> 
> EXTRA_LINKER_FLAGS += -Wl -norunpath
> 
> and they are all failing on:
> 
> checking how to create a ustar tar archive... pax
> checking for gcc... /opt/SUNWspro/bin/cc
> checking whether the C compiler works... no
> configure: error: in
> `/home/romeotheriault/opencsw/zeromq/trunk/work/solaris10-sparc/build-isa-sparcv8plus/zeromq-2.2.0':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> gmake[2]: *** [configure-work/solaris10-sparc/build-isa-sparcv8plus/zeromq-2.2.0/configure]
> Error 77
> gmake[2]: Leaving directory `/home/romeotheriault/opencsw/zeromq/trunk'
> gmake[1]: *** [merge-isa-sparcv8plus] Error 2
> gmake[1]: Leaving directory `/home/romeotheriault/opencsw/zeromq/trunk'
> gmake: *** [platforms] Error 2
> 
> Not sure if I'm doing it wrong or not?

If in doubt look in config.log


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the devel mailing list