Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12512) better detection of file locking
Home

[Freeciv-Dev] (PR#12512) better detection of file locking

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12512) better detection of file locking
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 13:13:42 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12512 >

Jason,
unfortunately, this patch broke Solaris builds.  I would get:

Making all in userdb
gmake[3]: Entering directory `/var/tmp/freeciv/server/userdb'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../utility -I../../common 
 -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -MT lockfile.o -MD -MP -MF ".deps/lockfile.Tpo"
-c -o lockfile.o lockfile.c; \
then mv -f ".deps/lockfile.Tpo" ".deps/lockfile.Po"; else rm -f
".deps/lockfile.Tpo"; exit 1; fi
lockfile.c: In function `create_lock':
lockfile.c:93: error: `fl' undeclared (first use in this function)
lockfile.c:93: error: (Each undeclared identifier is reported only once
lockfile.c:93: error: for each function it appears in.)
lockfile.c: In function `remove_lock':
lockfile.c:122: error: `fl' undeclared (first use in this function)
gmake[3]: *** [lockfile.o] Error 1
gmake[3]: Leaving directory `/var/tmp/freeciv/server/userdb'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/freeciv/server'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/freeciv'
gmake: *** [all] Error 2

I manually reverted this patch, and everything seems OK.

I think we determined that Solaris does not have "HAVE_FLOCK" last time
we looked at this.

-- 
Brett Albertson




[Prev in Thread] Current Thread [Next in Thread]