Date: Sun, 29 Apr 2012 12:25:22 -0400 From: Richard Yao <ryao@cs.stonybrook.edu> To: <hackers@FreeBSD.org> Subject: Where do the elf32_obj_loadfile, elf32_loadfile, elf64_obj_loadfile and elf64_loadfile symbols live? Message-ID: <4F9D6B72.50408@cs.stonybrook.edu>
next in thread | raw e-mail | index | archive | help
--------------enig551CB110D4C34386E1599BD1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Everyone, I tried compiling zfsloader from the FreeBSD 9.0-RELEASE tree on Gentoo Linux, but I encountered issues due to missing symbols: /var/tmp/portage/sys-boot/gptzfsloader-9.0/work/sys/boot/i386/zfsloader/.= =2E/libi386/libi386.a(elf32_freebsd.o):(.data+0x0): undefined reference to `elf32_obj_loadfile' /var/tmp/portage/sys-boot/gptzfsloader-9.0/work/sys/boot/i386/zfsloader/.= =2E/libi386/libi386.a(elf32_freebsd.o):(.data+0x8): undefined reference to `elf32_loadfile' /var/tmp/portage/sys-boot/gptzfsloader-9.0/work/sys/boot/i386/zfsloader/.= =2E/libi386/libi386.a(elf64_freebsd.o):(.data+0x0): undefined reference to `elf64_obj_loadfile' /var/tmp/portage/sys-boot/gptzfsloader-9.0/work/sys/boot/i386/zfsloader/.= =2E/libi386/libi386.a(elf64_freebsd.o):(.data+0x8): undefined reference to `elf64_loadfile' I searched the sources using grep, but I cannot find where the functions implementing those symbols are declared. Does anyone know where I can find them? Yours truly, Richard Yao --------------enig551CB110D4C34386E1599BD1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPnWt1AAoJELFAT5FmjZuEt5EP/i+DlLhyh0mGENIvI+APAinm IfI96L0OuQFL7PMaD8OS2MwLI2h0rs3kgJEDCLmFMTKngtGAkC3Xy1zcxOmcGb5H DC/uTB4Q8iFAJWMw51HQutDZFPTjatsh0i8RJt6W2VO5+y6qeXUbM1opbEn2HbCV r0RXHTyQxyRsomPvSjDPOb1B9QqYW4ZP6YK2jAf9QCbLBR5b+TaCwifwChEQoOXT gQsrCvi+GXt00ptZBHh2MARi+KrlDVwreGGNb+CotqV/tY+2FzEbcN/vm+p1HeDh IDeFidqrzie5xWKTWOZOsBNrZ6trZUZ+VlCAgufsKEISowTEfYA7GK8CMYfm5QgC FnmYqXZDlIBww1ShVbfNR/QTs1/63SOYaY4lARWEyEQjFhABFFAypyGUZ8hIZdkV 3yOHpFmuUQuIu5bqBNeUtaRneqqQun4GrQU3+jgDFSqbwQu/7JZdeVxe5sA9mDkV fQKVn7BzzT8rrdZKmDUHHQhrLh24E2Ltj68KAkNX/IqtX8pznlnJaZXDQ+iP8ql/ 9x4P2HLohheLRmksnS3WIav5o0XxjSjGX0AwYMLYjeuKq0fWhBChikBFIXHsv8Ib h0BnkRv5AcG5E8ECdiD65NXZaZn8lMQZhCbDymqCeqDN8SkEOlRThp2QuQ96Oc+6 3fBWkFptsVaBK6/usDXX =x6eK -----END PGP SIGNATURE----- --------------enig551CB110D4C34386E1599BD1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F9D6B72.50408>