[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Tor 0.2.1.6-alpha is out



On Sat, Oct 18, 2008 at 01:15:48PM +0000, otto otto wrote:
> I get the following error when trying to build tor-0.2.1.6-alpha on Sun Solaris 10x86.
> (I did compile and run tor-0.2.0.31 without any issue before.)
> Any help is appreciated.
[snip]
> gcc -DHAVE_CONFIG_H -I. -I../..   -I../common -I/opt/csw/include -I/usr/local/ssl/include   -D__DARWIN_UNIX03 -DIPHONE -Wall -g -O2 -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o compat.c
> compat.c: In function `tor_lockfile_lock':
> compat.c:509: warning: implicit declaration of function `flock'
> compat.c:509: error: `LOCK_EX' undeclared (first use in this function)
> compat.c:509: error: (Each undeclared identifier is reported only once
> compat.c:509: error: for each function it appears in.)
> compat.c:509: error: `LOCK_NB' undeclared (first use in this function)
> compat.c: In function `tor_lockfile_unlock':
> compat.c:538: error: `LOCK_UN' undeclared (first use in this function)

Is this compile error still present for 0.2.1.7-alpha? If so, can you
open a flyspray entry (https://bugs.torproject.org/) so we don't lose
track of it?

While I'm at it, why do you have "-D__DARWIN_UNIX03 -DIPHONE" as part of
your commandline? Did you run ./configure with --enable-iphone?

Thanks,
--Roger