FreeBSD port lang/tcl86 compilation error

Petr Hejl petr.hejl at businesshub.cz
Wed Dec 14 14:13:38 UTC 2016


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,


More information about the freebsd-tcltk mailing list