You are not logged in.

#1 2013-04-15 18:04:09

zenixls2
Member
Registered: 2013-04-04
Posts: 3

The 'LONG_MIN' problem

while I was compiling binutils (aur: arm-linux-gnueabi-binutils)
the system gave me some errors related to libiberty/fibheap.c:38:24,  the 'LONG_MIN' undefined
this error still happens on the latest version of binutils from gnu's ftp
is there any solution that can fix this error??

* the same problem here: https://aur.archlinux.org/packages/gcc4 … mments=all

Offline

#2 2013-04-25 22:20:16

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 57
Website

Re: The 'LONG_MIN' problem

LONG_MIN is usually defined in /usr/include/limits.h.  But I am not sure where/how arm-linux-gnueabi-binutils is supposed to be compiled - on an x86 desktop PC, on an ARM processor or with a crosscompiler for ARM.  The corresponding development (crosscompiling?) environment would then provide the limits.h to be used.  A post on the AUR package page and my own brief experiment suggest that this package does not compile on a regular x86 PC.


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#3 2013-04-26 02:45:55

zenixls2
Member
Registered: 2013-04-04
Posts: 3

Re: The 'LONG_MIN' problem

actually, I used centos with an older version of gcc and the same configurations / commands in PKGBUILD to compile and it works great.
I wonder if there's any change to gcc 4.8

Offline

Board footer

Powered by FluxBB