On Sat, 31 Mar 2018 13:36:28 +0200, Lance Corrimal wrote:

> Hi guys,
> 
> I'm trying to build a viewer on linux, and the build fails due to several 
> undefined variables, which, given their names, should actually be defined 
> somewhere in the source, or in the autobuild_variables_file:
> 
>   error: #error "LL_ALIGN_PREFIX and LL_ALIGN_POSTFIX undefined"
>   error: 'LL_DEFAULT_HEAP_ALIGN' was not declared in this scope
> 
> happens right after the actual build starts.
> 
> Where do I get those variables?

$ grep -r LL_ALIGN_POSTFIX linden/indra/* | grep '#define'

linden/indra/llcommon/llmemory.h:#define LL_ALIGN_POSTFIX(x) 
__attribute__((aligned(x)))
linden/indra/llcommon/llmemory.h:#define LL_ALIGN_POSTFIX(x)
linden/indra/llcommon/llmemory.h:#define LL_ALIGN_16(var) LL_ALIGN_PREFIX(16) 
var LL_ALIGN_POSTFIX(16)

You probably failed to #include "llmemory.h" in the sources where this
error happens.

Henri.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to