Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Mon Nov 04, 2013 1:03 am Post subject: Unable to compile a few key programs |
|
|
I am starting to see a worrying trend on my system, more and more programs are refusing to compile.
It started with Ruby2
Code: | num2int.c: In function ‘print_num2ll’:
num2int.c:82:21: error: expected ‘)’ before ‘PRI_LL_PREFIX’
num2int.c:82:21: warning: spurious trailing ‘%’ in format [-Wformat]
num2int.c: In function ‘print_num2ull’:
num2int.c:94:21: error: expected ‘)’ before ‘PRI_LL_PREFIX’
num2int.c:94:21: warning: spurious trailing ‘%’ in format [-Wformat]
make[2]: *** [num2int.o] Error 1 |
and then I noticed binutils was not emerging.
Code: | /media/portage/portage_tmp/portage/sys-devel/binutils-2.23.2/work/binutils-2.23.2/libiberty/fibheap.c:261:36: error: ‘LONG_MIN’ undeclared (first use in this function)
|
and then gcc ( gcc-4.8.1-r1, gcc-4.8.0)
Code: | /media/portage/portage_tmp/portage/sys-devel/gcc-4.8.0/work/gcc-4.8.0/libiberty/fibheap.c:220:30: error: ‘LONG_MIN’ undeclared (first use in this function) |
This last one was worrying, the common LONG_MIN. So I tried to re-emerge my present gcc ( gcc-4.7.3-r1 ) and I received the same error.
Googling around esp w.r.t. gentoo and everything was pointing to re-emerging linux-headers. This I have done (3.11) and downgraded to 3.9 and still no luck.
Looking into /usr/include/linux/limits.h (provided by linux-headers) I do not see a LONG_MIN in that file.
anyone have any advice or info on this? _________________
Quote: | Removed by Chiitoo |
|
|