trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: Documentation / SDK correction
Date Wed, 21 Apr 2010 15:05:00 GMT
On 04/21/2010 06:10 AM, shirish wrote:
> Hello,
>
> I was going through the documentation of traffic server sdk
> http://incubator.apache.org/trafficserver/docs/v2/sdk/ASimplePlugin.html
>
> the source code example of hello-world has deprecated name ( I suppose 
> ) if InkAPI.h which has been renamed in the issue 
> https://issues.apache.org/jira/browse/TS-9 ,
>
>
>       InkAPI.h and RemapPlugin.h are missing from /usr/local/include
>

Diane is working on updating all the docs for these changes.

> to ts.h in and the #include of hello-world.c should be modified as 
> #include "ts/ts.h" and also after replacing it. There is a small 
> logical flaw in the program compilation using gcc
> gcc -g -Wall -fPIC -o hello-world.o -c hello-world.c
>    
>
> actually raises error
> /usr/local/include/ts/ts.h:2031: error: expected declaration 
> specifiers or ‘...’ before ‘bool’

This is fixed both on trunk and as of last night, on the 2.0.x branch.

Cheers,

- Leif


Mime
View raw message