I solved the problem by downloading a fresh installation and executed the same comands and, voiala, it worked. I must have destroyed som file during may effort trying to solve the problem.
---------------------------------------- > From: nic_s...@hotmail.com > To: users@httpd.apache.org > Date: Wed, 3 Nov 2010 21:13:14 +0100 > Subject: [us...@httpd] Error when compiling Apache: Undefined symbols: > "_apr_dir_read$INODE64", referenced from:..... > > > Hello, > > I am trying to compile Apache. I did download the latest version of the > sourcecode (2.2.17). This is what I do: > > > sudo ./configure --prefix=/usr/local/apache2 --with-included-apr > > --enable-mods-shared=all --enable-module=so > > > sudo make > > and here I get > > /Users/Niklas/Development/apache/httpd-2.2.17/srclib/apr/libtool --silent > --mode=link gcc -g -O2 -o httpd modules.lo buildmark.o > -export-dynamic server/libmain.la modules/http/libmod_http.la > modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la > os/unix/libos.la > /Users/Niklas/Development/apache/httpd-2.2.17/srclib/pcre/libpcre.la > /Users/Niklas/Development/apache/httpd-2.2.17/srclib/apr-util/libaprutil-1.la > -lexpat -liconv > /Users/Niklas/Development/apache/httpd-2.2.17/srclib/apr/libapr-1.la -lpthread > Undefined symbols: > "_apr_dir_read$INODE64", referenced from: > _process_resource_config_nofnmatch in libmain.a(config.o) > _ap_process_resource_config in libmain.a(config.o) > "_apr_file_info_get$INODE64", referenced from: > _ap_pcfg_openfile in libmain.a(util.o) > "_apr_dir_open$INODE64", referenced from: > _process_resource_config_nofnmatch in libmain.a(config.o) > _ap_process_resource_config in libmain.a(config.o) > "_apr_stat$INODE64", referenced from: > _ap_process_resource_config in libmain.a(config.o) > _ap_mpm_set_coredumpdir in libmain.a(mpm_common.o) > _ap_is_directory in libmain.a(util.o) > _ap_is_rdirectory in libmain.a(util.o) > _ap_log_pid in libmain.a(log.o) > _unixd_pre_config in libos.a(unixd.o) > _resolve_symlink in libmain.a(request.o) > _resolve_symlink in libmain.a(request.o) > _resolve_symlink in libmain.a(request.o) > _ap_directory_walk in libmain.a(request.o) > _ap_directory_walk in libmain.a(request.o) > _ap_directory_walk in libmain.a(request.o) > _ap_sub_req_lookup_dirent in libmain.a(request.o) > _ap_sub_req_lookup_dirent in libmain.a(request.o) > _ap_sub_req_lookup_file in libmain.a(request.o) > _ap_sub_req_lookup_file in libmain.a(request.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make: *** [all-recursive] Error 1 > > What am I doing wrong? > > I am using OSX but I guess that shouldn't matter? > > I have been struggling with this for several days so I hope some can point me > in the rigth direction? > > Thank you in advnace! > > Regards, > Niklas > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org