modcaml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Modcaml] Fwd: apache2 and mod_caml


From: Richard Jones
Subject: [Modcaml] Fwd: apache2 and mod_caml
Date: Wed, 27 Jun 2007 16:19:36 +0100
User-agent: Mutt/1.5.9i

Subject: apache2 and mod_caml
From: Pietro Abate <address@hidden>
To: address@hidden
Envelope-to: address@hidden
X-Ids: 166
X-Operating-System: GNU/Linux
X-Organization: Research School of Information Science and Engineering
        (Australian National University)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0
        (shiva.jussieu.fr [134.157.0.166]);
        Wed, 27 Jun 2007 16:19:43 +0200 (CEST)
X-Virus-Scanned: ClamAV 0.88.7/3541/Wed Jun 27 14:44:24 2007 on
        shiva.jussieu.fr
X-Virus-Status: Clean
X-detected-kernel: FreeBSD 6.x (1)

Hi,
I'm trying to re-compile the experimental debian package I found on
alioth.debian.org with apache2. Following the suggestion from Joel, I
commented out user and auth_type from the conn_rec structure that are
not part of the API of apache2 (is is just ok to remove these two fields
?). 

Now I get a linking problem. I'm missing a library... but which one ?

I want to use mod_caml with cduce or if this is not possible to use the
same code base to build a mod_cduce... 

Is there any reason why this package was never accepted in debian ?

thanks :)
p

compile:/tmp/dpep-work.SR7227/mod-caml-1.3.8# ocamlc -linkall -custom -g
-w s -dtypes -I /usr/lib/ocaml/3.09.2/pcre dynlink.cma str.cma pcre.cma
unix.cma mod_caml_c.o apache_c.o wrappers.o apache.cmo
mod_caml_config.cmo mod_caml.cmo cgi_escape.cmo template.cmo cgi.cmo -o
mod_caml.so \ -cclib "-I/usr/lib/ocaml/3.09.2 -I/usr/include/apache2 
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DLINUX=2 -D_REENTRANT 
-I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql 
-I/usr/include/xmltok -pthread -lcamlrun -ltermcap -lunix -lstr "
mod_caml_c.o: In function `post_config':
mod_caml_c.c:(.text+0x7a): undefined reference to
`ap_add_version_component'
mod_caml_c.o: In function `alloc_root_value':
mod_caml_c.c:(.text+0xe3): undefined reference to `apr_palloc'
mod_caml_c.c:(.text+0x102): undefined reference to
`apr_pool_cleanup_null'
mod_caml_c.c:(.text+0x11c): undefined reference to
`apr_pool_cleanup_register'
mod_caml_c.o: In function `register_hooks':
mod_caml_c.c:(.text+0xfc8): undefined reference to `ap_hook_post_config'
mod_caml_c.c:(.text+0xfec): undefined reference to
`ap_hook_translate_name'
mod_caml_c.c:(.text+0x1010): undefined reference to
`ap_hook_check_user_id'
mod_caml_c.c:(.text+0x1034): undefined reference to
`ap_hook_auth_checker'
mod_caml_c.c:(.text+0x1058): undefined reference to
`ap_hook_access_checker'
mod_caml_c.c:(.text+0x107c): undefined reference to
`ap_hook_type_checker'
mod_caml_c.c:(.text+0x10a0): undefined reference to `ap_hook_fixups'
mod_caml_c.c:(.text+0x10c4): undefined reference to
`ap_hook_log_transaction'
mod_caml_c.c:(.text+0x10e8): undefined reference to
`ap_hook_header_parser'
mod_caml_c.c:(.text+0x110c): undefined reference to
`ap_hook_post_read_request'
mod_caml_c.c:(.text+0x1130): undefined reference to `ap_hook_handler'
apache_c.o: In function `mod_caml_table_clear':
apache_c.c:(.text+0xa8): undefined reference to `apr_clear_table'
apache_c.o: In function `mod_caml_table_get':
apache_c.c:(.text+0x110): undefined reference to `apr_table_get'
apache_c.o: In function `mod_caml_table_get_all':
apache_c.c:(.text+0x2b4): undefined reference to `apr_table_do'
apache_c.o: In function `mod_caml_table_fields':
apache_c.c:(.text+0x49d): undefined reference to `apr_table_do'
apache_c.o: In function `mod_caml_table_set':
apache_c.c:(.text+0x512): undefined reference to `apr_table_set'
apache_c.o: In function `mod_caml_table_add':
apache_c.c:(.text+0x589): undefined reference to `apr_table_add'
apache_c.o: In function `mod_caml_table_unset':
apache_c.c:(.text+0x5f1): undefined reference to `apr_table_unset'
apache_c.o: In function `mod_caml_request_set_status_line':
apache_c.c:(.text+0xe2b): undefined reference to `apr_pstrdup'
apache_c.o: In function `mod_caml_request_set_content_type':
apache_c.c:(.text+0x1245): undefined reference to `apr_pstrdup'
apache_c.o: In function `mod_caml_request_set_uri':
apache_c.c:(.text+0x13a8): undefined reference to `apr_pstrdup'
apache_c.o: In function `mod_caml_request_set_filename':
apache_c.c:(.text+0x1495): undefined reference to `apr_pstrdup'
apache_c.o: In function `mod_caml_request_set_path_info':
apache_c.c:(.text+0x1582): undefined reference to `apr_pstrdup'
apache_c.o:apache_c.c:(.text+0x166f): more undefined references to
`apr_pstrdup' follow
apache_c.o: In function `mod_caml_request_rflush':
apache_c.c:(.text+0x1a92): undefined reference to `ap_rflush'
apache_c.o: In function `mod_caml_request_setup_client_block':
apache_c.c:(.text+0x1b00): undefined reference to
`ap_setup_client_block'
apache_c.o: In function `mod_caml_request_should_client_block':
apache_c.c:(.text+0x1b71): undefined reference to
`ap_should_client_block'
apache_c.o: In function `mod_caml_request_get_client_block':
apache_c.c:(.text+0x1c58): undefined reference to `ap_get_client_block'
apache_c.o: In function `mod_caml_request_get_client_block_buffered':
apache_c.c:(.text+0x1d24): undefined reference to `ap_get_client_block'
apache_c.o: In function `mod_caml_request_discard_request_body':
apache_c.c:(.text+0x1d95): undefined reference to
`ap_discard_request_body'
apache_c.o: In function `mod_caml_request_note_auth_failure':
apache_c.c:(.text+0x1dfe): undefined reference to `ap_note_auth_failure'
apache_c.o: In function `mod_caml_request_note_basic_auth_failure':
apache_c.c:(.text+0x1e59): undefined reference to
`ap_note_basic_auth_failure'
apache_c.o: In function `mod_caml_request_note_digest_auth_failure':
apache_c.c:(.text+0x1eb4): undefined reference to
`ap_note_digest_auth_failure'
apache_c.o: In function `mod_caml_request_get_basic_auth_pw':
apache_c.c:(.text+0x1f1d): undefined reference to `ap_get_basic_auth_pw'
apache_c.o: In function `mod_caml_request_internal_redirect':
apache_c.c:(.text+0x1fa8): undefined reference to `ap_internal_redirect'
apache_c.o: In function `mod_caml_request_internal_redirect_handler':
apache_c.c:(.text+0x2012): undefined reference to
`ap_internal_redirect_handler'
apache_c.o: In function `mod_caml_request_print_char':
apache_c.c:(.text+0x2082): undefined reference to `ap_rputc'
apache_c.o: In function `mod_caml_request_output':
apache_c.c:(.text+0x2118): undefined reference to `ap_rwrite'
apache_c.o: In function `mod_caml_request_register_cleanup':
apache_c.c:(.text+0x21ba): undefined reference to `apr_palloc'
apache_c.c:(.text+0x21dd): undefined reference to
`apr_pool_cleanup_null'
apache_c.c:(.text+0x21f4): undefined reference to
`apr_pool_cleanup_register'
collect2: ld returned 1 exit status
Error while building custom runtime system



-- 
Richard Jones
Red Hat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]