#63793 closed defect (fixed)
cscope @15.9: symbol not found in flat namespace '_yylex'
| Reported by: | sudheerhebbale (Sudheer Hebbale) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | monterey | Cc: | |
| Port: | cscope |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
WHen I type cscope (or cscope -b) on commandline the following error is shown
dyld[36259]: symbol not found in flat namespace '_yylex' Abort
Change History (4)
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | monterey added |
| Port: | cscope added |
| Priority: | High → Normal |
| Summary: | After upgrade to macos 12.0 Monterey cscope does not work → cscope @15.9: symbol not found in flat namespace '_yylex' |
comment:2 Changed 5 years ago by sudheerhebbale (Sudheer Hebbale)
Thanks
Will await fort the updated port
comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to ryandesign |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Turns out this did not fix the problem and it has been re-filed as #64448.
Note: See
TracTickets for help on using
tickets.

The mention of "flat namespace" is surprising since the flat namespace went out of style with the introduction of the two-level namespace in Mac OS X 10.3 a long time ago. But maybe that's not the part of the message we should focus on.
It builds and installs and runs fine for me on macOS High Sierra but I see that it links with flex's libfl.dylib though the port doesn't declare a dependency on it. If I use trace mode to hide MacPorts flex, then it builds and installs and runs fine while using "flex 2.5.35 Apple(flex-31)" provided by macOS High Sierra without linking to a flex library. I see that Monterey provides "flex 2.6.4 Apple(flex-34)". Perhaps that's the significant difference.
I'll modify the port to always use MacPorts flex and you can see if that helps.