You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Conan Wang (JIRA)" <ji...@apache.org> on 2011/05/29 22:43:47 UTC

[jira] [Created] (TS-809) error when compiling plugin written in C

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


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

[jira] [Resolved] (TS-809) error when compiling plugin written in C

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (TS-809) error when compiling plugin written in C

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-809:
-----------------------------

    Fix Version/s: 2.1.9
         Assignee: Leif Hedstrom

> 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

[jira] [Updated] (TS-809) error when compiling plugin written in C

Posted by "Conan Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Conan Wang updated TS-809:
--------------------------

    Attachment: ts-809.patch

> 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
>         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

[jira] [Updated] (TS-809) error when compiling plugin written in C

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-809:
-----------------------------

    Fix Version/s:     (was: 2.1.9)
                   3.0.0

> 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: 3.0.0
>
>         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