dosgo / ngrok-c

ngrok client for c language,Due to the use of GO ngrok language development, porting to embedded devices some inconvenience, such as openwrt, so use C language rewrite a client. Very mini, the need to support polarssl library.
MIT License
497 stars 202 forks source link

lib是否有错?编译windows版本时。 #54

Closed weixiami closed 7 years ago

weixiami commented 7 years ago

F:\XXX\ngrok-c-1.37-2016-5-25->g++ -s build-win32\main.o build-win32\sendmsg.o build-win32\ngrok.o build-win32\cJSON.o build-win32\nonblocking.o build-win32\sslbio.o -o build-win32\ngrokc.exe libpolarssl-win32.a -lws2_32 -lpthread build-win32\main.o:main.cpp:(.text+0x4e2): undefined reference to SslWrite' build-win32\main.o:main.cpp:(.text.startup+0xa4): undefined reference toAbreSSL()' D:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld.exe: build-win32\main.o: bad reloc address 0xa4 in section `.text.startup'