Re: compiling error on FreeBSD-4.5?

2002-04-26 Thread Roy Hooper


> "Paul S. Puth" <[EMAIL PROTECTED]> wroreL
> > I am trying to compile the latest freeradius snapshot on a FreeBSD 4.5.
> >
> > With just basic ./configure and make, it stopped at "ltdl.lo" (see below).
> ...
> > gcc: Internal compiler error: program as got fatal signal 4
> > gmake[2]: *** [ltdl.lo] Error 1
>
>   Your system appears to be broken.

It appears to be just his system too.

Make ran just fine for freeradius-snapshot-20020426 on my "FreeBSD
matchbox.toybox.ca 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #0: Tue Apr 23
15:18:48 EDT 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386" just now.


> > If I disable libltdl with ./configure --disable-ltdl-install, it stopped
> > at "*** [rlm_attr_rewrite.lo] Error 1"
>
>   Reading the rest of the messages associated with that build should
> help figure out *why* that build failed.

I would suggest a memory test or some other form of system stability test.
This is not a FreeBSD-4.5 problem.

Roy



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: compiling error on FreeBSD-4.5?

2002-04-26 Thread Alan DeKok

"Paul S. Puth" <[EMAIL PROTECTED]> wroreL
> I am trying to compile the latest freeradius snapshot on a FreeBSD 4.5. 
> 
> With just basic ./configure and make, it stopped at "ltdl.lo" (see below).
...
> gcc: Internal compiler error: program as got fatal signal 4
> gmake[2]: *** [ltdl.lo] Error 1

  Your system appears to be broken.

> If I disable libltdl with ./configure --disable-ltdl-install, it stopped
> at "*** [rlm_attr_rewrite.lo] Error 1"

  Reading the rest of the messages associated with that build should
help figure out *why* that build failed.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



compiling error on FreeBSD-4.5?

2002-04-26 Thread Paul S. Puth

I am trying to compile the latest freeradius snapshot on a FreeBSD 4.5. 

With just basic ./configure and make, it stopped at "ltdl.lo" (see below).
If I disable libltdl with ./configure --disable-ltdl-install, it stopped
at "*** [rlm_attr_rewrite.lo] Error 1"


I suspect there might be something missing in FreeBSD?



gmake[1]: Entering directory `/usr/local/src/freeradius-snapshot-20020426'
Making all in libltdl...
gmake[2]: Entering directory
`/usr/local/src/freeradius-snapshot-20020426/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g
-O2 -pthread -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -c ltdl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -pthread -D_THREAD_SAFE
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.lo
ltdl.c:140: warning: function declaration isn't a prototype
ltdl.c:263: warning: function declaration isn't a prototype
ltdl.c:280: warning: function declaration isn't a prototype
ltdl.c:295: warning: function declaration isn't a prototype
ltdl.c:725: warning: function declaration isn't a prototype
ltdl.c:757: warning: function declaration isn't a prototype
ltdl.c: In function `presym_open':
ltdl.c:774: warning: cast discards qualifiers from pointer target type
ltdl.c: At top level:
ltdl.c:787: warning: function declaration isn't a prototype
ltdl.c:796: warning: function declaration isn't a prototype
ltdl.c:910: warning: function declaration isn't a prototype
ltdl.c:959: warning: function declaration isn't a prototype
ltdl.c:1034: warning: function declaration isn't a prototype
ltdl.c:1110: warning: function declaration isn't a prototype
ltdl.c:1123: warning: function declaration isn't a prototype
ltdl.c:1133: warning: function declaration isn't a prototype
ltdl.c:1160: warning: function declaration isn't a prototype
gcc: Internal compiler error: program as got fatal signal 4
gmake[2]: *** [ltdl.lo] Error 1
gmake[2]: Leaving directory
`/usr/local/src/freeradius-snapshot-20020426/libltdl'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr/local/src/freeradius-snapshot-20020426'
gmake: *** [all] Error 2





- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html