ROHC 2.2.0 build failure on Windows 10
Hello,
I am trying to build the latest ROHC source (2.2.0) on both Linux and Windows. I am able to build it fine on Ubuntu 18.04 and use it. But when I to try to build it on Windows 10 with Cygwin, the build is failing with the following errors:
------
make[2]: Leaving directory '/cygdrive/
Making install in .
make[2]: Entering directory '/cygdrive/
CCLD librohc.la
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:486: librohc.la] Error 1
make[2]: Leaving directory '/cygdrive/
make[1]: *** [Makefile:507: install-recursive] Error 1
make[1]: Leaving directory '/cygdrive/
make: *** [Makefile:722: install-recursive] Error 1
-------
I see that these symbols have not been exported with ROHC_EXPORT as they are declared 'static'. Is this a known issue for Windows 10?. Please let me know if there is any solution/workaround for the same.
Also, during 'configure', I see the following warnings (which I guess is not related to the above issue) :
checking winsock2.h presence... yes
configure: WARNING: winsock2.h: present but cannot be compiled
configure: WARNING: winsock2.h: check for missing prerequisite headers?
configure: WARNING: winsock2.h: see the Autoconf documentation
configure: WARNING: winsock2.h: section "Present But Cannot Be Compiled"
configure: WARNING: winsock2.h: proceeding with the compiler's result
configure: WARNING: ## -------
configure: WARNING: ## Report this to https:/
configure: WARNING: ## -------
checking for winsock2.h... no
Thanks,
Vinod
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: