Date: Thu, 27 Aug 1998 00:05:06 +0000 (GMT) From: Donn Miller <dmm125@bellatlantic.net> To: bugs@FreeBSD.ORG Subject: error in libcompat (2.2.7) Message-ID: <Pine.NEB.3.96.980826235640.21704A-100000@myname.my.domain>
next in thread | raw e-mail | index | archive | help
Could someone running the stock 2.2.7 check out /usr/src/lib/libcompat? If you cd /usr/src/lib/libcompat, and make, see if SysV gets made, which includes ftok.c. e.g. do make |& tee make.log and then grep ftok make.log . On my machine at least, "make" does not enter into the "SysV" directory. Hence, ftok() never gets included into "libcompat.a". This causes progams that link against libcompat to give an unreference symbol to _ftok. Also, in SysV/ftok.c, ftok is defined as key_t ftok(const char *path, char id) but /usr/include/sys/ipc.h declares ftok as ftok(const char *, int); so basically in the source file the second arg is a char, but the header file (ipc.h) declares the second arg to be an int. Thanks Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.980826235640.21704A-100000>