'make' fails while trying to build
Hi,
Im trying to compile and 'make' the jk2 Tomcat / Apache connector.
While running the make command, i get an error. I believe its got to do with libraries and linking them together somehow... the error is shown below, which happens while running the 'make' command
.urem 0xcfc /usr/local/lib/libdb.a(qam.o)
.urem 0x1e60 /usr/local/lib/libdb.a(qam.o)
.urem 0x1e84 /usr/local/lib/libdb.a(qam.o)
.urem 0x4e4 /usr/local/lib/libdb.a(qam_files.o)
.urem 0x2fc /usr/local/lib/libdb.a(qam_method.o)
.urem 0x450 /usr/local/lib/libdb.a(qam_rec.o)
.urem 0x2c8 /usr/local/lib/libdb.a(qam_stat.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache13/mod_jk2.la] Error 1
make[1]: Leaving directory `/home/me/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache13'
make: *** [jk2-build] Error 1
googling it (the "ld: fatal: relocations remain against allocatable but non-writable sections" part) mentioned something about how libraries get linked and stuff but it was all to confusing for me to understand..
does anyone know what is going on? if not a solution at least tell me what make is trying to do when it fails? any help is appreciated..
|