Elm 2.5.3 compilations problems on Solaris 2.7

Elm 2.5.3 compilations problems on Solaris 2.7

Post by Bill Pembert » Thu, 27 Jan 2000 04:00:00





>uname -a:
>SunOS ilya 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-1

>/usr/local/bin/elm2.5.3> make install
>cd lib && make   install
>cd src && make   install
>cc  -O  -I.. -I../hdrs  -c  lock.c
>lock.c: In function `Grab_the_file':
>lock.c:108: `LOCK_NB' undeclared (first use in this function)
>lock.c:108: (Each undeclared identifier is reported only once
>lock.c:108: for each function it appears in.)
>lock.c:108: `LOCK_EX' undeclared (first use in this function)
>lock.c: In function `Release_the_file':
>lock.c:145: `LOCK_UN' undeclared (first use in this function)
>*** Error code 1
>make: Fatal error: Command failed for target `lock.o'
>Current working directory /usr/local/bin/elm2.5.3/src
>*** Error code 1
>make: Fatal error: Command failed for target `install'

>What can I do to fix it? If I cannot use 2.5.3, what other versions will
>compile on Solaris 2.7?

It'll compile fine on Solaris 2.7.  Just make sure you're telling
Configure to call the Sun compiler as itself and not /usr/ucb/cc.  Or,
use gcc.

--
Bill

 
 
 

1. radius.3.6B.basic : compilation problem with Solaris 2.7

Hi,

I'm trying to compile the radius.3.6B.basic (from Merit) on a SS5 running
Solaris 2.7. I'm using the pre-compiled gcc 2.8.1 binaries. Compilation
fails with the following message :

gcc -g -Dsys5 -traditional -DHAVE_SETVBUF -DHAUGHSHADOW -DMERIT_GRANDFATHER -DMI
SSING_STATE     -DCHK_SHELLS  -DASCEND -DBINARY_FILTERS  -I/usr/ucbinclude  -o .
/src/radiusd.o -c ./src/radiusd.c
In file included from src/radius.h:100,
                 from ./src/radiusd.c:156:
src/ascend.h:118: conflicting types for `ipaddr_t'
/usr/include/netinet/in.h:60: previous declaration of `ipaddr_t'
*** Error code 1
make: Fatal error: Command failed for target `src/radiusd.o'

It works fine with Solaris 2.6.

Any idea what's going wrong ?

Thanks in advance.
Philippe Debroux
Universite catholique de Louvain
Service des Reseaux d'Information
B - 1348 Louvain-la-Neuve

2. Broken pipe using Apache+Jserv

3. PGP 6.5.1i compilations problems on Solaris 2.7

4. Internet voice phone support for Linux?

5. Need Help on SOLARIS 2.7 for compilation...

6. Basic Security Module and conr fials on Solaris 8

7. Locale compilation on Solaris 2.7

8. PICO source

9. Compilation failure on Solaris 2.7

10. NIS Installation problem on Solaris 2.7

11. memory problem with ptmalloc + POSIX threads on Solaris 2.8/2.7 (32bit)

12. ISP CHAP AUTHENTICATION PROBLEM solaris 2.7 x86

13. Solaris 2.7 sendmail.cf problem