Skip to content

Instantly share code, notes, and snippets.

@zdavatz
Created February 3, 2011 09:47
Show Gist options
  • Save zdavatz/809279 to your computer and use it in GitHub Desktop.
Save zdavatz/809279 to your computer and use it in GitHub Desktop.
Apache mod_ruby compile error with MinGW on Windows Vista
apache_request.o:apache_request.c:(.text+0x1a1b): undefined reference to `_imp__apr_month_snames'
apache_request.o:apache_request.c:(.text+0x1a3f): undefined reference to `_imp__apr_day_snames'
apachelib.o:apachelib.c:(.text+0x33a): undefined reference to `_imp__ap_server_root'
bucket.o:bucket.c:(.text+0x111): undefined reference to `_imp__apr_bucket_type_flush'
bucket.o:bucket.c:(.text+0x156): undefined reference to `_imp__apr_bucket_type_eos'
bucket.o:bucket.c:(.text+0x19b): undefined reference to `_imp__apr_bucket_type_file'
bucket.o:bucket.c:(.text+0x1e0): undefined reference to `_imp__apr_bucket_type_pipe'
bucket.o:bucket.c:(.text+0x225): undefined reference to `_imp__apr_bucket_type_socket'
bucket.o:bucket.c:(.text+0x26a): undefined reference to `_imp__apr_bucket_type_heap'
bucket.o:bucket.c:(.text+0x2af): undefined reference to `_imp__apr_bucket_type_transient'
bucket.o:bucket.c:(.text+0x2f4): undefined reference to `_imp__apr_bucket_type_immortal'
bucket.o:bucket.c:(.text+0x339): undefined reference to `_imp__apr_bucket_type_mmap'
bucket.o:bucket.c:(.text+0x37e): undefined reference to `_imp__apr_bucket_type_pool'
mod_ruby.o:mod_ruby.c:(.text+0xcca): undefined reference to `_imp__ap_real_exit_code'
mod_ruby.o:mod_ruby.c:(.text+0xcf3): undefined reference to `_imp__ap_real_exit_code'
mod_ruby.o:mod_ruby.c:(.text+0xcfa): undefined reference to `_imp__ap_real_exit_code'
mod_ruby.o:mod_ruby.c:(.text+0xd03): undefined reference to `_imp__ap_real_exit_code'
request.o:request.c:(.text+0x30fc): undefined reference to `_imp__core_module'
request.o:request.c:(.text+0x3164): undefined reference to `_imp__core_module'
request.o:request.c:(.text+0x31b4): undefined reference to `_imp__core_module'
request.o:request.c:(.text+0x31ec): undefined reference to `_imp__core_module'
request.o:request.c:(.text+0x3254): undefined reference to `_imp__core_module'
request.o:request.c:(.text+0x32a4): more undefined references to `_imp__core_module' follow
ruby_config.o:ruby_config.c:(.text+0x9c8): undefined reference to `_imp__ap_real_exit_code'
ruby_config.o:ruby_config.c:(.text+0x9f1): undefined reference to `_imp__ap_real_exit_code'
ruby_config.o:ruby_config.c:(.text+0x9f8): undefined reference to `_imp__ap_real_exit_code'
ruby_config.o:ruby_config.c:(.text+0xa01): undefined reference to `_imp__ap_real_exit_code'
server.o:server.c:(.text+0x875): undefined reference to `_imp__core_module'
collect2: ld returned 1 exit status
make: *** [mod_ruby.so] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment