Wireshark mailing list archives
Re: Function getaddrinfo() vanished in one of the later commits. -> solved.
From: hdv <henri.de.veer () gmail com>
Date: Sat, 5 Jan 2019 22:34:49 +0100
On 5-1-2019 22:20, Guy Harris wrote:
On Jan 5, 2019, at 1:08 PM, hdv <henri.de.veer () gmail com> wrote:wsutil is already in the dependency list. So its not in there.Please send us your modified version of extcap/CMakeLists.txt.
I fixed it: the function is in 'ws2_32' and I added it conditionally as follow in my "snippet" (anagate is my target):
if(BUILD_anagate)
set(anagate_LIBS
wsutil
writecap
${GLIB2_LIBRARIES}
${CMAKE_DL_LIBS}
)
if(WIN32)
set(anagate_LIBS ${anagate_LIBS} ws2_32)
endif(WIN32)
set(anagate_FILES
anagate-core.c
anagate-intf.c
extcap-base.c
)
set_executable_resources(anagate "anagate")
add_executable(anagate ${anagate_FILES})
set_extcap_executable_properties(anagate)
target_link_libraries(anagate ${anagate_LIBS})
install(TARGETS anagate RUNTIME DESTINATION ${EXTCAP_INSTALL_LIBDIR})
add_dependencies(extcaps anagate)
endif()
Thanks for pointing out that is was "ws2_32" where this function is
located (your first reply was right).
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Function getaddrinfo() vanished in one of the later commits. hdv (Jan 04)
- Re: Function getaddrinfo() vanished in one of the later commits. hdv (Jan 04)
- Re: Function getaddrinfo() vanished in one of the later commits. Guy Harris (Jan 04)
- Re: Function getaddrinfo() vanished in one of the later commits. hdv (Jan 04)
- Re: Function getaddrinfo() vanished in one of the later commits. Guy Harris (Jan 04)
- Re: Function getaddrinfo() vanished in one of the later commits. hdv (Jan 05)
- Re: Function getaddrinfo() vanished in one of the later commits. Guy Harris (Jan 05)
- Re: Function getaddrinfo() vanished in one of the later commits. hdv (Jan 05)
- Re: Function getaddrinfo() vanished in one of the later commits. Guy Harris (Jan 05)
- Re: Function getaddrinfo() vanished in one of the later commits. -> solved. hdv (Jan 05)
- Re: Function getaddrinfo() vanished in one of the later commits. -> solved. Roland Knall (Jan 06)
- Re: Function getaddrinfo() vanished in one of the later commits. -> solved. hdv (Jan 06)
- Re: Function getaddrinfo() vanished in one of the later commits. hdv (Jan 04)
