From owner-freebsd-tcltk@freebsd.org Wed Dec 14 14:13:38 2016 Return-Path: Delivered-To: freebsd-tcltk@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5E80C77151 for ; Wed, 14 Dec 2016 14:13:38 +0000 (UTC) (envelope-from petr.hejl@businesshub.cz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C1F2F6C6 for ; Wed, 14 Dec 2016 14:13:38 +0000 (UTC) (envelope-from petr.hejl@businesshub.cz) Received: by mailman.ysv.freebsd.org (Postfix) id C13F9C77150; Wed, 14 Dec 2016 14:13:38 +0000 (UTC) Delivered-To: tcltk@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0E7EC7714F for ; Wed, 14 Dec 2016 14:13:38 +0000 (UTC) (envelope-from petr.hejl@businesshub.cz) Received: from smtp.fdlnet.cz (smtp.fdlnet.cz [IPv6:2a03:1180:0:ffff::25]) by mx1.freebsd.org (Postfix) with ESMTP id 88A336C5 for ; Wed, 14 Dec 2016 14:13:37 +0000 (UTC) (envelope-from petr.hejl@businesshub.cz) Received: from localhost (unknown [10.1.252.193]) by smtp.fdlnet.cz (Postfix) with ESMTPS id 95F2A996F1 for ; Wed, 14 Dec 2016 15:13:35 +0100 (CET) Received: from mail.businesshub.cz (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by localhost (Postfix) with ESMTPS id 6F4017C for ; Wed, 14 Dec 2016 15:13:35 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 14 Dec 2016 15:13:35 +0100 From: Petr Hejl To: tcltk@freebsd.org Subject: Re: FreeBSD port lang/tcl86 compilation error Organization: Businesshub.cz In-Reply-To: <20161214134013.rk75e6iwfc2wkvpo@ptrcrt.ch> References: <20161213085813.vcmv5zvezgzh3szw@ptrcrt.ch> <20161214134013.rk75e6iwfc2wkvpo@ptrcrt.ch> Message-ID: <6cbe104e91b852ee377642135cfcb0e5@businesshub.cz> X-Sender: petr.hejl@businesshub.cz User-Agent: Roundcube Webmail/1.2.2 X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 14:13:38 -0000 Hello Pietro, you're right, adding makeoptions DEBUG="-g" solved the problem. Thank you very much for your help. Best regards, Petr Hejl Dne 2016-12-14 14:40, Pietro Cerutti napsal: > On 2016-Dec-14, 12:31, Petr Hejl wrote: >> Hello Pietro, > > Hello Petr, > >> 2c2 >> < # CKERN -- Custom kernel configuration file for FreeBSD/amd64 >> --- >> > # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 >> 22c22 >> < ident CKERN >> --- >> > ident GENERIC >> 24c24 >> < #makeoptions DEBUG=-g # Build kernel with gdb(1) >> debug symbols >> --- >> > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > That might be the cause... > > According to https://wiki.freebsd.org/DTrace/KernelSupport, "If > D-scripts fail with a message such as syntax error "near uid_t", then > you forgot to compile your kernel with gdb(1) debug symbols enabled. > Add > makeoptions DEBUG="-g" to your kernel config and try again." > > Please try that and let me know if it solves the issue. > > Thanks,