You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1358 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Sur mon alpha, j'ai gcc 2.95.2. Dans les extensions C pour Cash, il y
a un assert (0). Quand je tente de linker Cash sur cette machine,
j'ai:
/usr/local/bin/ocamlmktop-3.06 -g -o cashtop -I . -I /usr/local/lib/ocaml-3.06/contrib -I /usr/local/lib/ocaml-3.06/camlp4 -dllpath /usr/local/lib/ocaml-3.06/contrib pcre.cma camlp4o.cma unix.cma cash.cma set_dir.cmo
Error on dynamically loaded library: Unresolved symbol in ./dllcash.so: __eprintf
L'origine du problème me semble être:
la macro assert est expansée ainsi par gcc:
((void) (( 0 ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "unix_plus.c" , 146 , "0" ), 0) ))
__eprintf est dans libgcc.a (je ne vois pas de .so correspondant)
ocamlrun n'ayant aucun assert, quand ocamlmktop charge la dll pour voir
si tout est là, __eprintf est indéfini.
Je ne vois pas bien comment résoudre proprement le problème au moment
de ocamlmklib/top. Ou dois-je renoncer à assert ?
Bruno.
The text was updated successfully, but these errors were encountered:
Original bug ID: 1358
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Sur mon alpha, j'ai gcc 2.95.2. Dans les extensions C pour Cash, il y
a un assert (0). Quand je tente de linker Cash sur cette machine,
j'ai:
/usr/local/bin/ocamlmktop-3.06 -g -o cashtop -I . -I /usr/local/lib/ocaml-3.06/contrib -I /usr/local/lib/ocaml-3.06/camlp4 -dllpath /usr/local/lib/ocaml-3.06/contrib pcre.cma camlp4o.cma unix.cma cash.cma set_dir.cmo
Error on dynamically loaded library: Unresolved symbol in ./dllcash.so: __eprintf
L'origine du problème me semble être:
((void) (( 0 ) ? 0 : (__eprintf ("%s:%u: failed assertion `%s'\n", "unix_plus.c" , 146 , "0" ), 0) ))
si tout est là, __eprintf est indéfini.
Je ne vois pas bien comment résoudre proprement le problème au moment
de ocamlmklib/top. Ou dois-je renoncer à assert ?
Bruno.
The text was updated successfully, but these errors were encountered: