1 Oct 2003 05:13
undefined refrences to Apache symbols
Gagan Puri <gaganpuri <at> infosys.com>
2003-10-01 03:13:00 GMT
2003-10-01 03:13:00 GMT
Hi Everybody, I have an an application which is working with apache web server on Linux As 2.1 m/c. While compiling I have to use -Wl,-Bsymbolic option. My compiler is gcc. When I use this option & try to compile my application, I get following warnings: ExAPACHE.o: In function `CExApi::GetProtInfo(tagProtocolInfo*)': ExAPACHE.o(.text+0x237): undefined reference to `ap_table_get' ExAPACHE.o(.text+0x263): undefined reference to `ap_get_server_port' ExAPACHE.o: In function `CExApi::GetAuthOnlyHeader(char*, unsigned)': ExAPACHE.o(.text+0x4d7): undefined reference to `ap_table_get' ExAPACHE.o: In function `CExApi::GetCookies(char**)': ExAPACHE.o(.text+0x54f): undefined reference to `ap_table_get' ExAPACHE.o: In function `CExApi::SetCookie(char*)': ExAPACHE.o(.text+0x5d1): undefined reference to `ap_pstrdup' ExAPACHE.o(.text+0x5ef): undefined reference to `ap_table_addn' ExAPACHE.o: In function `CExApi::GetBasicAuth(char*, unsigned)': ExAPACHE.o(.text+0x657): undefined reference to `ap_table_get' ExAPACHE.o: In function `CExApi::SetBasicAuth(char*)': ExAPACHE.o(.text+0x6d1): undefined reference to `ap_pstrdup' ExAPACHE.o(.text+0x6ef): undefined reference to `ap_table_setn' ExAPACHE.o: In function `CExApi::GetLocation(char*, unsigned)': ExAPACHE.o(.text+0x757): undefined reference to `ap_table_get' ExAPACHE.o: In function `CExApi::SetLocation(char*)': ExAPACHE.o(.text+0x7dc): undefined reference to `ap_pstrdup' ExAPACHE.o(.text+0x7fa): undefined reference to `ap_table_setn' ExAPACHE.o(.text+0x808): undefined reference to `ap_parse_uri' ExAPACHE.o: In function `CExApi::GetReferer(char*, unsigned)': ExAPACHE.o(.text+0x867): undefined reference to `ap_table_get'(Continue reading)
RSS Feed