From owner-freebsd-current Wed Sep 18 11:23:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBD337B401 for ; Wed, 18 Sep 2002 11:23:08 -0700 (PDT) Received: from studnet.sk (kripel.unitra.sk [193.87.12.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AC2D43E65 for ; Wed, 18 Sep 2002 11:23:00 -0700 (PDT) (envelope-from rado@kripel.studnet.sk) Received: from kripel.studnet.sk (rado@localhost [IPv6:::1]) by studnet.sk (8.12.5/angel's version) with ESMTP id g8IIN3MN070720 for ; Wed, 18 Sep 2002 20:23:03 +0200 (CEST) Received: (from rado@localhost) by kripel.studnet.sk (8.12.5/8.12.3/Submit) id g8IIN3xs070659 for current@FreeBSD.org; Wed, 18 Sep 2002 20:23:03 +0200 (CEST) Date: Wed, 18 Sep 2002 20:23:03 +0200 From: Radko Keves To: current@FreeBSD.org Subject: problem with compiling libkvm .. Message-ID: <20020918182303.GA53982@studnet.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i try to compile kvm library with today's source on i386 tree and have found this error: [...] cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm -c /usr/src/lib/libkvm/kvm.c -o kvm.o In file included from /usr/src/lib/libkvm/kvm.c:63: /usr/src/lib/libkvm/kvm.h:49: syntax error before "size_t" /usr/src/lib/libkvm/kvm.h:49: warning: useless keyword or type name in empty declaration /usr/src/lib/libkvm/kvm.h:49: warning: empty declaration /usr/src/lib/libkvm/kvm.h:54: syntax error before "ssize_t" /usr/src/lib/libkvm/kvm.h:54: warning: useless keyword or type name in empty declaration /usr/src/lib/libkvm/kvm.h:54: warning: empty declaration *** Error code 1 and when i make changes in Makefile: < CFLAGS+=-DLIBC_SCCS --- > CFLAGS+=-DLIBC_SCCS -I${.CURDIR} have found this error: [...] cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -c /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': /usr/src/lib/libkvm/kvm_proc.c:346: `TDS_INHIBITED' undeclared (first use in this function) /usr/src/lib/libkvm/kvm_proc.c:346: (Each undeclared identifier is reported only once /usr/src/lib/libkvm/kvm_proc.c:346: for each function it appears in.) *** Error code 1 but don't know what is TDS_INHIBITED i haven't found it in includes only in source tree: /usr/src/sys/sys/proc.h so i append it to kvm.c but: [...] many errors and: /usr/src/sys/sys/proc.h:568: `MAXCOMLEN' undeclared here (not in a function) In file included from /usr/include/sys/user.h:61, from /usr/src/lib/libkvm/kvm.c:49: /usr/include/sys/signalvar.h: In function `__sigisempty': /usr/include/sys/signalvar.h:172: structure has no member named `__bits' /usr/include/sys/signalvar.h: In function `__sigseteq': /usr/include/sys/signalvar.h:184: structure has no member named `__bits' /usr/include/sys/signalvar.h:184: structure has no member named `__bits' *** Error code 1 so i thing this way is wrong have someone this experience too ? bye -- 20:05 up 22:46, 16 users, load averages: 0,44 0,15 0,06 -- FreeBSD 5.0-CURRENT #15: root@kripel:/usr/src/sys/i386/compile/angel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message