--=-=-=
Content-Transfer-Encoding: quoted-printable

cees-bart <[EMAIL PROTECTED]> writes:

> if you read your own documentation properly, you would have noticed that=
=20
> load-foreign loads object files, and not shared object files. there is a=
=20
> difference here.

If you bothered to follow the advice that people have provided you,
for free and without reward, you might well find that the difference
is immaterial.=20=20

cees-bart claims to have solved the problem himself already but
demonstrates a lack of normal etiquette by not offering the solution
to the list.  So, for anyone else wondering, on x86 linux, because
it's what I happen to have here:

* (ext:load-foreign "/usr/lib/libjpeg.so")
;;; Running /usr/bin/ld...
;;; Done.
NIL
* (sys:foreign-symbol-address "jpeg_abort")
#.(SYSTEM:INT-SAP #xB0000590)

You can also use (system::load-object-file) on an ELF system (and
possibly some others) to avoid the step that runs ld.  Note that this
is an internal symbol, though


=2Ddan

=2D-=20

   http://www.cliki.net/ - Link farm for free CL-on-Unix resources=20

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/b1oJHDK5ZnWQiRMRAo8vAKC8jjpLjWMJZxAfLvaYqdYKl5+eAQCfWtlo
RuJa/kxSModTAlqRsqzhGkw=
=g3ab
-----END PGP SIGNATURE-----
--=-=-=--

Reply via email to