joyent/node — Issue #2319: make broken on older red hat (node v0.6.5)
Author: nemophrost
Created: 2011-12-12 16:26:03+00:00
State: open

I get the following errors when after running configure and make:

node/out/Release/obj.target/uv/deps/uv/src/unix/core.o
../deps/uv/src/unix/core.c: In function ‘uv_timer_start’:
../deps/uv/src/unix/core.c:559: warning: dereferencing type-punned pointer will break strict-aliasing rules
../deps/uv/src/unix/core.c: In function ‘uv__accept’:
../deps/uv/src/unix/core.c:739: error: ‘SOCK_NONBLOCK’ undeclared (first use in this function)
../deps/uv/src/unix/core.c:739: error: (Each undeclared identifier is reported only once
../deps/uv/src/unix/core.c:739: error: for each function it appears in.)
../deps/uv/src/unix/core.c:739: error: ‘SOCK_CLOEXEC’ undeclared (first use in this function)

This is running on Red Hat 4.1.2.
Doing some googling around it looks like the errors could be due to an old version of glibc (2.5 in this case)

I downloaded node v0.6.0 and it makes just fine.