[csw-maintainers] can I use gcc instead of /opt/SUNWspro/bin/cc ?

Philip Brown phil at bolthole.com
Fri May 20 19:12:49 CEST 2011


On Fri, May 20, 2011 at 10:07 AM, John Ellson <ellson at opencsw.org> wrote:
> On 05/20/2011 01:00 PM, Joerg Schilling wrote:
>> John Ellson <ellson at opencsw.org> wrote:
>>
>>> I'm having a hard time getting graphviz-2.28 to build on current9s.
>>>
>>> The latest problem is with installed perl headers, outside of my ability
>>> to fix:
>>>
>>>     CXX    libgv_perl_la-gv_perl.lo
>>>     CC: Warning: Option -xnorunpath passed to ld, if ld is invoked,
>>> ignored otherwise
>> Are you compiling C++?
>>
>> Jörg
>>
>
> Oh! yes, thats right.   I'm compiling against a swig generated wrapper
> of a thin C++ layer.
>
> ./configure is finding:
>
> CXX='/opt/SUNWspro/bin/CC'
>
>

Good catch, Jörg

So, the likely case is:

- the perl stuff is just fine
- whatever you are compiling, has not properly declared
   extern "C" {
     #include "perl-stuffs-here"
  }


More information about the maintainers mailing list