helpmod_caml - Support: sr #103304, Fails to build on Mac OS X

 
 

sr #103304: Fails to build on Mac OS X

Submitted by:  None
Submitted on:  Wed 25 Aug 2004 04:51:29 PM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Aug 2004 07:05:13 PM UTC, comment #1: 

Using apxs -q LDFLAGS_SHLIB in the link step fixed that right up.

Here, it adds -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load

Anonymous
Wed 25 Aug 2004 04:51:29 PM UTC, original submission:  

I'm trying to build mod_caml to work with the Apache 1.3 installation distributed with Mac OS X 1.3.5.  The final link fails as follows:

ocamlc -linkall -custom -g -w s -I /sw/lib/ocaml/site-lib/pcre -I /usr/include/httpd dynlink.cma str.cma pcre.cma unix.cma mod_caml_c.o mod_caml.cmo apache_c.o wrappers.o apache.cmo mod_caml_config.cmo cgi_escape.cmo template.cmo cgi.cmo -o mod_caml.so \
  -cclib "-fPIC -DSHARED_MODULE -lcamlrun -ltermcap -lunix -lstr "
ld: Undefined symbols:
_ap_add_version_component
_ap_null_cleanup
_ap_palloc
_ap_register_cleanup
_ap_discard_request_body
_ap_get_basic_auth_pw
_ap_get_client_block
_ap_internal_redirect
_ap_internal_redirect_handler
_ap_note_auth_failure
_ap_note_basic_auth_failure
_ap_note_digest_auth_failure
_ap_pstrdup
_ap_rputc
_ap_rwrite
_ap_send_http_header
_ap_setup_client_block
_ap_should_client_block
_ap_table_add
_ap_table_get
_ap_table_set
_ap_table_unset
Error while building custom runtime system
make: *** [mod_caml.so] Error 2
Exit 2

Any suggestions?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.6