Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346867 - sys-devel/flex-2.5.35_p10 compile error
Summary: sys-devel/flex-2.5.35_p10 compile error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2010-11-26 18:17 UTC by Kolan Sh.
Modified: 2010-11-27 11:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,25.78 KB, text/plain)
2010-11-26 23:56 UTC, Kolan Sh.
config.log (config.log,92.77 KB, text/plain)
2010-11-26 23:56 UTC, Kolan Sh.

Note You need to log in before you can comment on or make changes to this bug.
Description Kolan Sh. 2010-11-26 18:17:43 UTC
compile error: "INT_MAX undefined in scanopt.c"

Reproducible: Always

Steps to Reproduce:
1.emerge =sys-devel/flex-2.5.35_p10

Actual Results:  
compile error: "INT_MAX undefined in scanopt.c"

Expected Results:  
build successful

resolved by:
echo HAVE_LIMITS 1 >> config.h
Comment 1 Rafał Mużyło 2010-11-26 22:51:37 UTC
Attach full build log and probably config.log too.
Comment 2 Kolan Sh. 2010-11-26 23:56:26 UTC
Created attachment 255533 [details]
Comment 3 Kolan Sh. 2010-11-26 23:56:45 UTC
Created attachment 255535 [details]
Comment 4 SpanKY gentoo-dev 2010-11-27 10:26:12 UTC
your sed is screwed up.  presumably due to your ridiculous CFLAGS.

./configure: line 7541:  9967 Illegal instruction     sed 'y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'
Comment 5 Kolan Sh. 2010-11-27 10:40:28 UTC
My favourite sed??  = (
Oh, sh...
Thanks a lot!
Comment 6 Kolan Sh. 2010-11-27 11:11:38 UTC
The -ftree-vectorize option has broken the sed after my recent updating to gcc-4.5.1-r1.
All is now excellent, Thanks!