fpagliughi / sockpp

Modern C++ socket library.
BSD 3-Clause "New" or "Revised" License
782 stars 126 forks source link

Issue while building #5

Closed jaychanda closed 5 years ago

jaychanda commented 5 years ago

I have getting below error while building your library build/Debug/GNU-Linux/NativeTCP.o:(.data.rel.ro._ZTVN6sockpp13tcp_connectorE[_ZTVN6sockpp13tcp_connectorE]+0x20): undefined reference to `sockpp::stream_socket::read(void*, unsigned long)'

fpagliughi commented 5 years ago

Sorry, I’m on holiday for a week, but will look as soon as I get back. Which version/branch are you building? Which compiler and OS are you using?

fpagliughi commented 5 years ago

I'm unable to recreate this build error. There is an implementation for sockpp::stream_socket::read(void*, unsigned long) and the file is included in the CMake build.

Are you using the GNU Makefiles? I don't think I updated them recently. I will get rid of them and use CMake only. See #6

fpagliughi commented 5 years ago

I will assume this this was fixed with the updated build system. Feel free to re-open the issue if there is more information to share.