On 08/31/2012 09:34 PM, Igor Galić wrote:
> 
> Hey folks,
> 
> I cut a tag for 3.3.0-dev and uploaded the tar ball to
> 
>    http://people.apache.org/~igalic/releases/
> 
> Please test this thoroughly before casting your ±1 votes!
> 
> 
> For reference:
> -rw-r--r--  1 igalic  igalic    74B Aug 31 19:18 
> trafficserver-3.3.0-dev.tar.bz2.sha1
> -rw-r--r--  1 igalic  igalic    66B Aug 31 19:18 
> trafficserver-3.3.0-dev.tar.bz2.md5
> -rw-r--r--  1 igalic  igalic   836B Aug 31 19:18 
> trafficserver-3.3.0-dev.tar.bz2.asc
> -rw-r--r--  1 igalic  igalic   2.6M Aug 31 19:18 
> trafficserver-3.3.0-dev.tar.bz2
> 
> MD5 (trafficserver-3.3.0-dev.tar.bz2) = f7093a419f5f4a9a7da3dddd60076747
> SHA1 (trafficserver-3.3.0-dev.tar.bz2) = 
> eba3f36faf356b1535874fbe5313d508968c6f56
> 
> 
> So long,
> 
> i
> 
+0

Configures, compiles and installs fine on Debian 6.0

Fails to compile on FreeBSD 9.0 with the following error:
(tried with both gcc 4.2 and 4.7)
-------------------------------------------------------------------
   ink_hash_table.cc: In function 'char*
ink_hash_table_entry_key(InkHashTable*, InkHashTableEntry*)':
   ink_hash_table.cc:369: error: invalid conversion from 'void*' to
'char*' [-fpermissive]
   gmake[3]: *** [ink_hash_table.lo] Error 1
-------------------------------------------------------------------
I solved this by changing line 369
from: tcl_key = ...
to:   tcl_key = (char*) ...

And then it compiled, installed and ran just fine.
So, +1 for it actually working on debian, and on freebsd after the kinks
were sorted out (FreeBSD/compiler specific error?), and -1 for compiler
error gives us a total of +0 (yay for math!).

If I'm the only one seeing this, then I don't see this as a show-stopper
in any way, but if others are seeing it too, then it might be worth
investigating. The fix seems quite simple.

With regards,
Daniel.

Reply via email to