Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

0.6.7 make broken: src/unix/core.c: In function ‘uv__accept’ #2495

Closed
QLeelulu opened this issue Jan 9, 2012 · 1 comment
Closed

0.6.7 make broken: src/unix/core.c: In function ‘uv__accept’ #2495

QLeelulu opened this issue Jan 9, 2012 · 1 comment

Comments

@QLeelulu
Copy link

QLeelulu commented Jan 9, 2012

0.6.7 make at centos 64 error.
0.6.6 is ok!

[root@web node-v0.6.7]# uname -a
Linux web 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:13:52 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@web node-v0.6.7]# make
Waf: Entering directory /root/node-v0.6.7/out' DEST_OS: linux DEST_CPU: x64 Parallel Jobs: 1 Product type: program [ 4/35] uv: deps/uv/include/uv.h -> out/Release/deps/uv/uv.a make[1]: Entering directory/root/node-v0.6.7/out/Release/deps/uv'
rm -f src/ares/.o
rm -f src/unix/ev/
.o
rm -f src/unix/eio/.o
rm -f src/unix/
.o
rm -rf test/run-tests.dSYM run-benchmarks.dSYM
rm -f -f src/.o *.a test/run-tests test/run-benchmarks
make[1]: Leaving directory /root/node-v0.6.7/out/Release/deps/uv' make[1]: Entering directory/root/node-v0.6.7/out/Release/deps/uv'
/usr/bin/gcc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_linux -Isrc -g -c src/unix/core.c -o src/unix/core.o
src/unix/core.c: In function ‘uv__accept’:
src/unix/core.c:739: 错误:‘SOCK_NONBLOCK’ 未声明 (在此函数内第一次使用)
src/unix/core.c:739: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
src/unix/core.c:739: 错误:所在的函数内只报告一次。)
src/unix/core.c:739: 错误:‘SOCK_CLOEXEC’ 未声明 (在此函数内第一次使用)
make[1]: *
* [src/unix/core.o] 错误 1
make[1]: Leaving directory /root/node-v0.6.7/out/Release/deps/uv' Waf: Leaving directory/root/node-v0.6.7/out'
Build failed: -> task failed (err #2):
{task: uv uv.h -> uv.a}

maybe is the same as this issue? -> #2319

@bnoordhuis
Copy link
Member

Thanks for the report. It's fixed in cc5cea3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants