Date: Wed, 14 Dec 2016 15:13:35 +0100 From: Petr Hejl <petr.hejl@businesshub.cz> To: tcltk@freebsd.org Subject: Re: FreeBSD port lang/tcl86 compilation error Message-ID: <6cbe104e91b852ee377642135cfcb0e5@businesshub.cz> In-Reply-To: <20161214134013.rk75e6iwfc2wkvpo@ptrcrt.ch> References: <f7a1220f5a4fc8da6878b095ffb11d4c@businesshub.cz> <20161213085813.vcmv5zvezgzh3szw@ptrcrt.ch> <e564b4bfd7575d821335c4dcbc98055e@businesshub.cz> <20161214134013.rk75e6iwfc2wkvpo@ptrcrt.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6cbe104e91b852ee377642135cfcb0e5>