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


sr #103304: Fails to build on Mac OS X

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup

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

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 \
  -cclib "-fPIC -DSHARED_MODULE -lcamlrun -ltermcap -lunix -lstr "
ld: Undefined symbols:
Error while building custom runtime system
make: * [] Error 2
Exit 2

Any suggestions?



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code