You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/05/30 01:18:47 UTC
[jira] [Resolved] (TS-809) error when compiling plugin written in C
[ https://issues.apache.org/jira/browse/TS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-809.
------------------------------
Resolution: Fixed
> error when compiling plugin written in C
> ----------------------------------------
>
> Key: TS-809
> URL: https://issues.apache.org/jira/browse/TS-809
> Project: Traffic Server
> Issue Type: Bug
> Components: TS API
> Affects Versions: 2.1.9
> Reporter: Conan Wang
> Assignee: Leif Hedstrom
> Fix For: 2.1.9
>
> Attachments: ts-809.patch
>
>
> error when compiling any plugins(written in C) with tsxs/gcc: (tested on ubuntu 10.04 32bit / mac os 10.6.7 64bit)
> $/home/ts/ts-2.1.9/bin/tsxs -c hello.c -o hello.so
> compiling hello.c -> hello.lo
> In file included from hello.c:25:
> /home/ts/ts-2.1.9/include/ts/ts.h:616: error: expected specifier-qualifier-list before 'sockaddr_storage'
> Compile failed: gcc -I/home/ts/ts-2.1.9/include -march=i586 -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -fpic -c hello.c -o hello.lo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira