lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.92k stars 549 forks source link

First basic example in wiki fails to link #224

Closed diviaki closed 6 years ago

diviaki commented 6 years ago
/tmp/ccP16mO3.ltrans1.ltrans.o: In function `parse_listener_prefix':
<artificial>:(.text+0x182c): undefined reference to `__start_lwan_module'
<artificial>:(.text+0x1833): undefined reference to `__stop_lwan_module'
<artificial>:(.text+0x1867): undefined reference to `__stop_lwan_module'
/tmp/ccP16mO3.ltrans1.ltrans.o: In function `setup_from_config':
<artificial>:(.text+0x1f6f): undefined reference to `__start_lwan_module'
<artificial>:(.text+0x1f76): undefined reference to `__stop_lwan_module'
<artificial>:(.text+0x1fa7): undefined reference to `__stop_lwan_module'
collect2: error: ld returned 1 exit status
diviaki commented 6 years ago

This is now fixed by copy pasting parts of src/bin/lwan/CMakeLists.txt

lpereira commented 6 years ago

Thanks for foxing this!