imazing103
Technical User
Hi,
i'm a newbie to apache. When i tried to compile a module given in the following link under the heading "Adding a custom header" i got the following error. How do i rectify the error ?
$ /usr/sbin/apxs -c my_mod.c -o my_mod.dll
gcc -DCYGWIN -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DEAPI -DPIC -DSHARED_CORE -O2 -D
SHARED_MODULE -I/usr/include/apache -c my_mod.c
gcc -g --shared -o my_mod.dll my_mod.o -o my_mod.dll /bin/cyghttpd2core.dll
my_mod.o:my_mod.c: (.text+0x26): undefined reference to `__imp__ap_table_set'
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1
i'm a newbie to apache. When i tried to compile a module given in the following link under the heading "Adding a custom header" i got the following error. How do i rectify the error ?
$ /usr/sbin/apxs -c my_mod.c -o my_mod.dll
gcc -DCYGWIN -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DEAPI -DPIC -DSHARED_CORE -O2 -D
SHARED_MODULE -I/usr/include/apache -c my_mod.c
gcc -g --shared -o my_mod.dll my_mod.o -o my_mod.dll /bin/cyghttpd2core.dll
my_mod.o:my_mod.c: (.text+0x26): undefined reference to `__imp__ap_table_set'
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=1