[ 
https://issues.apache.org/jira/browse/TS-5082?focusedWorklogId=33205&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-33205
 ]

ASF GitHub Bot logged work on TS-5082:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Dec/16 04:51
            Start Date: 08/Dec/16 04:51
    Worklog Time Spent: 10m 
      Work Description: Github user oknet commented on the issue:

    https://github.com/apache/trafficserver/pull/1252
  
    From my understand:
    
    - The TS_INLINE defined as inline in lib/ts/ink_apidefs.h only for libts, 
for libts.so these functions declared by TS_INLINE is inline function.
    - And TS_INLINE defined as empty in iocore/\*/Inline.cc, for a sub module 
static libs (\*.a) these functions declared by TS_INLINE is NOT inline function.
    
    I don't know the reasons about the TS_INLINE macro, this case only fix the 
compile error.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 33205)
    Time Spent: 50m  (was: 40m)

> Compile error: undefined reference to IOBufferReader::is_read_avail_more_than
> -----------------------------------------------------------------------------
>
>                 Key: TS-5082
>                 URL: https://issues.apache.org/jira/browse/TS-5082
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Oknet Xu
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> autoreconf -fi
> ./configure
> make
> got some error message like below:
> {code}
> CXXLD traffic_server
> undefined reference to IOBufferReader::is_read_avail_more_than(...)
> {code}
> file: P_IOBuffer.h
> {code}
> inline bool
> IOBufferReader::is_read_avail_more_than(int64_t size)
> {code}
> should be
> {code}
> TS_INLINE bool
> IOBufferReader::is_read_avail_more_than(int64_t size)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to