The issue still exists when trying to compile 0.2.1.7-alpha on solaris (compile tor-0.2.0.32 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. Thanks. otto > Date: Sun, 23 Nov 2008 20:47:08 -0500 > From: arma@xxxxxxx > To: or-talk@xxxxxxxxxxxxx > Subject: 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 > Neu: Office Live Workspace, der kostenlose Online-Arbeitsbereich für Office. Ideal auch für Teams. Jetzt ausprobieren! |