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

RE: Tor is out

The issue still exists when trying to compile on solaris (compile tor- works without any issue).

Your right, I did configure with ./configure with --enable-iphone.
I have removed "--enable-iphone", but still the same issue.
I have opened a flyspray entry, subject: "compile error - compat.c: In function `tor_lockfile_lock'"
with a cut/paste of my configure and compile run.


> Date: Sun, 23 Nov 2008 20:47:08 -0500
> From: arma@xxxxxxx
> To: or-talk@xxxxxxxxxxxxx
> Subject: Re: Tor 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- on Sun Solaris 10x86.
> > (I did compile and run tor- 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 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

Neu: Office Live Workspace, der kostenlose Online-Arbeitsbereich für Office. Ideal auch für Teams. Jetzt ausprobieren!