use apache apr ,but compile error

Alles, was den Apache betrifft, kann hier besprochen werden.

use apache apr ,but compile error

Postby liangwu2046 » 06. September 2007 14:52

The below is my program:

#include <apr_pools.h>
#include <apr_general.h>
int main(void)
apr_pool_t *p;
return 1;
gcc -I usr/local/apache2/include/ -L usr/local/apache2/lib/ hello.c -o hello
undefined reference apr_initialize()

As you see,the program is easy,but when I compile it ,it has a error,I don't why, who can tell me the reason?
Posts: 6
Joined: 25. August 2007 04:30

Return to Apache

Who is online

Users browsing this forum: No registered users and 9 guests