bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66289: localeinfo.c:33:39: error: macro "static_assert" requires 2 a


From: Dennis Clarke
Subject: bug#66289: localeinfo.c:33:39: error: macro "static_assert" requires 2 arguments, but only 1 given
Date: Wed, 4 Oct 2023 18:38:39 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 10/4/23 18:30, Paul Eggert wrote:
On 10/4/23 13:09, Dennis Clarke via Bug reports for GNU grep wrote:

/opt/bw/build/grep-3.11_netbsd_9.3_sparcv9.002/src/dfasearch.c:159: undefined reference to `re_set_syntax'

So, you didn't build the regex library that came with grep ...


--without-included-regex

... and this is your problem.

Don't use that option unless your C library's regex code is compatible with glibc's, which Solaris regex is not.

Fair enough.

This was NetBSD. I have not seen Solaris in a decade and really hope I
never will again.


--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken






reply via email to

[Prev in Thread] Current Thread [Next in Thread]