[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#530857: libbsd on kfreebsd-i386 contains unresolved symbols



Same problem occurs on hurd-i386 but not the other ports
architectures such as m68k.

This fix should be sufficient:

--- src/nlist.c
+++ src/nlist.c
@@ -154,6 +154,10 @@
                return (-1);
        }

+#ifndef N_SYMSIZE
+#define N_SYMSIZE(a)    ((a).a_syms)
+#endif
+
        symoff = N_SYMOFF(*exec);
        symsize = N_SYMSIZE(*exec);
        stroff = symoff + symsize;




Reply to: