From: <amata@tsc.uc3m.es>
To: markus@oefai.at
Cc: caml-list@inria.fr
Subject: [Caml-list] PXP and OCAMLMAKEFILE
Date: Fri, 21 Mar 2003 11:23:41 +0100 [thread overview]
Message-ID: <1292613999.1399912926@tsc.uc3m.es> (raw)
Hello;
I´m trying to compile a parse program using the library PXP. I want
to use OcamlMakefile to do that. This is my makefile
#######################################################################
#
# Makefile for the CAMLprelude
# 1) Compile library with: make bcl
# 2) Install library with: make libinstall
# 3) Uninstall library with: make uninstall
#######################################################################
######################################################################
## This depends on the particular library being built
############################# #########################################
## This is a fairly standard way of building:
## 1 - for building libraries: list supporting files and
libraries
## then target on the library. The 'all' target builds
libraries.
LIBS = ocamlodbc unix pcre netstring pxp_lex_utf8 pxp_engine str cgi
CLIBS = psqlodbc
LDFLAGS = -L/export/alcaudon/opt/pgsql/lib -L/export/turul5/amata/lib -
R/export/alcaudon/opt/pgsql/lib -R/export/turul5/amata/lib
# Place in FILES the name of files to be compiled
FILES = cgi_servidor
SOURCES = $(addsuffix .ml, $(FILES))
# Place in RESULT the name of the library being developed
RESULT = ejecutable.cgi
# THREADS = yes
all: bcl ncl
-include /export/turul5/amata/lib/makefile.head
########
The program compiles without problems, but when i execute it, i get
the error;
Failure(No lexical analyzer available! (Badly linked executable?) )
In order to solve this error, I need to link the file
pxp_lex_link_utf8.cmo
How can I include files .cmo in the makefile?
Thank you very much.
Best regards.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2003-03-21 10:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1292613999.1399912926@tsc.uc3m.es \
--to=amata@tsc.uc3m.es \
--cc=caml-list@inria.fr \
--cc=markus@oefai.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox