Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] custom linking not working
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-01 (21:02)
From: Ian Zimmerman <itz@s...>
Subject: [Caml-list] custom linking not working

What am I doing wrong here???

itz:~# ocamlc -linkall -custom toplevellib.cma /usr/lib/ocaml/libgraphics.a \
        topmain.cmo -o
itz:~# ./
        Objective Caml version 3.01

# #load "/usr/lib/ocaml/graphics.cma";;
The external function `gr_set_text_size' is not available
itz:~# ocamlc -v
The Objective Caml compiler, version 3.01
Standard library directory: /usr/lib/ocaml
itz:~# nm /usr/lib/ocaml/libgraphics.a | grep gr_set_text_size 
000000bc T gr_set_text_size

Ian Zimmerman, Oakland, California, U.S.A.
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: