Thread View: news.software.nntp
2 messages
2 total messages
Started by Bill Lowe
Wed, 19 Mar 1997 00:00
lockfile.c -- compile error problem
Author: Bill Lowe
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
28 lines
1525 bytes
1525 bytes
i have a compaq proliant 1500 server running Solaris 2.5.1. i am currently performing a first time install of INN 1.5.1. during the process, i have been a good boy and gotten all GNU utilities and compilers at their most current levels as of 03/10/97, and believe to have followed the instructions as closely as possible. However, i am coming up with a compile error during 'make world' that i can't seem to beat: lockfile.c: In function 'LockFile': lockfile.c:43: "LOCK_EX' undeclared (first use this function) and related error messages, lockfile.c:43: "LOCK_NB' undeclared (first use this function) and related messages and make[3] : *** [lockfile.o] Error 1 and related messages. i have used both GCC 2.7.2.2 and Sun procompiler C 3.0.1. is this a bad piece of code that can be replaced or updated, and if so, who has the solution? Any other solutions? -- *************** Bill Lowe (bill@ccsd.k12.co.us) "if i could think of a good quote, i wouldn't use this one"
Re: lockfile.c -- compile error problem
Author: Bert Hyman
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
28 lines
1541 bytes
1541 bytes
In article <33300E92.3851@ccsd.k12.co.us>, Bill Lowe <bill@ccsd.k12.co.us> wrote: >i have a compaq proliant 1500 server running Solaris 2.5.1. i am >currently performing a first time install of INN 1.5.1. ..... i am >coming up with a compile error during 'make world' that i can't seem to >beat: >lockfile.c: In function 'LockFile': >lockfile.c:43: "LOCK_EX' undeclared (first use this function) > >and related error messages, >lockfile.c:43: "LOCK_NB' undeclared (first use this function) You must have LOCK_STYLE set to FLOCK in your config.data file. The sample config.data for Solaris shows it as being set to LOCKF. A quick scan of /usr/include on a Solaris 2.4 box I've got handy appears to show that to be correct. -- The opinions expressed in this message are my own and are not the opinions of anyone who does not hold those opinions. Bert Hyman | Unisys - Roseville MN bert@rsvl.unisys.com | (612) 635-7791 | net2: 524-7791
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads