vijayyande / spserver

Automatically exported from code.google.com/p/spserver
Other
0 stars 0 forks source link

MAC compilation error #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gcc -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC -I/Users/eugene/libevent/ -c 
spiochannel.cpp -o spiochannel.o
spiochannel.cpp: In member function 'virtual int 
SP_DefaultIOChannel::write_vec(iovec*, int)':
spiochannel.cpp:158: error: 'writev' was not declared in this scope

What is the expected output? What do you see instead?
self explanatory

What version of the product are you using? On what operating system?
spserver 0.9.2
Mac OS X 10.4.11

Please provide any additional information below.

Had the same issue as in "3", applied the patch.

Thanks

Original issue reported on code.google.com by port...@gmail.com on 27 Aug 2008 at 10:13

GoogleCodeExporter commented 9 years ago
I have add some include header files for MacOS. I prepare to add a 
Makefile.macos
(thanks for Brian O'Kelley) for MacOS, but i have not MacOS enviroment. Can 
anybody
help me to test the Makefile.macos ? If this Makefile is OK, i will add it to 
the
project. 

Original comment by stephen....@gmail.com on 30 Aug 2008 at 4:25

Attachments:

GoogleCodeExporter commented 9 years ago
Makefile.darwin was added.

Original comment by stephen....@gmail.com on 24 Sep 2008 at 3:19