Issue #2681 has been updated by jorisgio.
Hi, have you run make upgrade after installing world and kernel ? ---------------------------------------- Bug #2681: missing symbol pidfile_open ? http://bugs.dragonflybsd.org/issues/2681#change-12042 * Author: bsd4chris * Status: New * Priority: Normal * Assignee: * Category: Build * Target version: ---------------------------------------- Hi I am trying out DragonFlyBSD and have missing pidfile_open when using mount. I noticed this after building world from commit c24de52e9d066f36243cbe68aa1bbd9f7b423d02. I am also running custom kernel - but the configuration is clone of the default X86_64_GENERIC without the parallel port I replicated that situation using /* pidfile_open.c */ #include <libutil.h> #include <stdio.h> #include <errno.h> #include <string.h> /* problem with linking at c24de52e9d066f36243cbe68aa1bbd9f7b423d02 */ int main( int argc, char **argv ) { struct pidfh *retpid = pidfile_open("pidfile.xxx", 0600, NULL); if(!retpid) { printf("Error pidfile_open %s\n", strerror(errno)); } return 0; } and linked it with gcc pidfile_open_test.c -o pidfile_open -lutil file links fine but when running I got ./pidfile_open /tmp/pidfile_open: Undefined symbol "pidfile_open" strangely ldd reports ldd ./pidfile_open-x ./pidfile_open-x: libutil.so.4 => /usr/lib/libutil.so.4 (0x80082b000) libc.so.8 => /usr/lib/libc.so.8 (0x800a3c000) and readelf -a /usr/lib/libutil.so|grep pidfile_open 152: 0000000000007d75 848 FUNC GLOBAL DEFAULT 9 pidfile_open what am I missing, or I did something wrong ? -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account