Building FreeRADIUS on HP-UX B.11.31 ia64 (gcc, 32bit)

2012-06-22 Thread Alexander Gattin
Hello, There are 2 problems with HP-UX build (I use GNU gcc and native ld): 1. ld options '+b libdir' are passed without '-Wl,' prefix directly to gcc (not to ld): gcc -shared -Wl,+h -Wl,rlm_acctlog-2.1.12.so -Wl,+nodefaultrpath -o .libs/rlm_acctlog-2.1.12.so .libs/rlm_acctlog.o +b

Re: Building FreeRADIUS on HP-UX B.11.31 ia64 (gcc, 32bit)

2012-06-22 Thread Alexander Gattin
Hello, On Fri, Jun 22, 2012 at 12:16:00PM +0300, Alexander Gattin wrote: 1. ld options '+b libdir' are passed without '-Wl,' prefix directly to gcc (not to ld): gcc +b src/lib/.libs was in fact started by ./libtool: /comptel/ilink/src/freeradius-server-2.1.12/libtool --mode=link gcc

Re: Building FreeRADIUS on HP-UX B.11.31 ia64 (gcc, 32bit)

2012-06-22 Thread Alan DeKok
Alexander Gattin wrote: gcc +b src/lib/.libs was in fact started by ./libtool: Yes. The version of libtool used by FreeRADIUS is quite old. Unfortunately, I've tried to upgrade it multiple times without much success. libtool, libltdl, and configure are incestuously related in bizarre