[haiku-3rdparty-dev] Re: not finding 'get_system_info'

  • From: Yourself <pete.goodeve@xxxxxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Fri, 8 Aug 2014 16:02:31 -0700

On Fri, Aug 08, 2014 at 02:51:53PM -0700, Yourself wrote:
> On Fri, Aug 08, 2014 at 09:50:53AM +0200, Ingo Weinhold wrote:
> > On 08.08.2014 02:28, Pete Goodeve wrote:
> > >
> > >I've been working on helping to convert a project to Haiku, and I was
> > >doing most of the work on my pre-PM system.  Everything built there, but
> > >moving the sources over to a PM system I'm getting just two link errors:
> > >undefined references to 'get_system_info' and 'get_cpu_info'

Aarghh.  OK -- live'n'learn, I guess... (:-))

I thought I had deleted everything important, and I checked that all the 
libraries we new (though I thought I didn't have to bother to delete 
them).

When I watched the build more closely, I saw that 'ar -cru...' is used 
to build the libraries. As far as I can see, the "u" part of the option 
was deciding it didn't have to replace something -- even though all the 
.o files *were* new! I still don't quite understand, but when I deleted 
all the libraries and tried again, it went to completion.

Sorry for the bother.

Thanks,

        -- Pete --

Other related posts: