[haiku-development] Re: Cross-building the locale kit : problem with some headers

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 14 Apr 2009 00:19:47 +0200

On 2009-04-13 at 15:02:22 [+0200], Adrien <pulkomandy@xxxxxxxxx> wrote:
> Ok, copying the sourcefile in another folder has worked quite well. I'm
> now getting the following link errors for the collectcatkeys
> application:
> undefined reference to `find_directory(directory_which, BPath*, bool,
> BVolume*)'
> undefined reference to `BFile::GetSize(long long*) const'
> undefined reference to `BLooper::Unlock()'
> undefined reference to `BMimeType::SetLongDescription(char const*)'
> undefined reference to `load_add_on'
> undefined reference to `BMimeType::SetPreferredApp(char const*,
> app_verb)'
> undefined reference to `BMimeType::SetFileExtensions(BMessage const*)'
> undefined reference to `fs_stat_index'
> undefined reference to `unload_add_on'
> undefined reference to `BMimeType::SetAttrInfo(BMessage const*)'
> undefined reference to `BVolumeRoster::BVolumeRoster()'
> undefined reference to `BMimeType::Install()'
> undefined reference to `BMimeType::IsInstalled() const'
> undefined reference to `get_image_symbol'
> undefined reference to `fs_create_index'
> undefined reference to `BVolumeRoster::GetBootVolume(BVolume*)'
> undefined reference to `BMimeType::SetShortDescription(char const*)'
> undefined reference to `BVolumeRoster::~BVolumeRoster()'
> 
> Are all of them missing from the host-side libbe, or did I miss some
> other linking option ?

Most of them look indeed like they could be missing. Just check in 
src/build/libbe/.

> I will try to locate the places in the code where they are used, i
> think some of them could be removed from the localekit without problems
> for the catalog-generation part. I already commented out some parts of
> the code that were not even compiling.

Add-ons and BLoopers should definitely not be needed, some/most of the 
BMimeType stuff probably isn't either.

CU, Ingo

Other related posts: