Hi folks,

recently I've done a little work on OpenCSW and have finally
started creating packages. Sadly even OpenCSW doesn't provide
all the libraries in 64 bit, a key requirement to compiling
TrafficServer in 64 bit - which is our hard-coded default.

I altered that default in configure.ac:

-      common_opt="-mt -m64 -D__WORDSIZE=64" # FIXME: arch should be detected
+      common_opt="-mt" # -D__WORDSIZE=64" # -m64 " # FIXME: arch shouldn't 
need to be detected..?

And then started fixing the other issues that arose:

__i386__ is a GCCism, SunPRO needs __i386 -- same is true for
__x86_64__ vs __x86_64.

Now that all is fine and well: It compiles, at least.
But it doesn't link, see:
https://issues.apache.org/jira/browse/TS-856

This is where I'm stuck - I hope somebody can help me out.

So long,

i

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/

Reply via email to