Hi thanks for the feedback from Alan. Here are the msg from command 'make' (/usr/ccs/bin/make):
 
ltdl.c:85:5: warning: "HAVE_ARGZ_H" is not defined
ltdl.c:405:7: warning: "HAVE_ARGZ_APPEND" is not defined
ltdl.c:447:7: warning: "HAVE_ARGZ_CREATE_SEP" is not defined
ltdl.c:510:7: warning: "HAVE_ARGZ_INSERT" is not defined
ltdl.c:572:7: warning: "HAVE_ARGZ_NEXT" is not defined
ltdl.c: In function `rpl_argz_next':
ltdl.c:599: warning: cast discards qualifiers from pointer target type
ltdl.c:617:7: warning: "HAVE_ARGZ_STRINGIFY" is not defined
ltdl.c: In function `lt_estrdup':
ltdl.c:884: warning: declaration of `dup' shadows a global declaration
/usr/include/unistd.h:201: warning: shadowed declaration is here
ltdl.c: At top level:
ltdl.c:955: warning: function declaration isn't a prototype
ltdl.c: In function `sys_dl_open':
ltdl.c:955: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:970: warning: function declaration isn't a prototype
ltdl.c: In function `sys_dl_close':
ltdl.c:970: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:986: warning: function declaration isn't a prototype
ltdl.c: In function `sys_dl_sym':
ltdl.c:986: warning: unused parameter `loader_data'
ltdl.c:1016:5: warning: "HAVE_SHL_LOAD" is not defined
ltdl.c:1370:5: warning: "HAVE_DLD" is not defined
ltdl.c: At top level:
ltdl.c:1456: warning: function declaration isn't a prototype
ltdl.c: In function `presym_init':
ltdl.c:1456: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:1475: warning: function declaration isn't a prototype
ltdl.c:1497: warning: function declaration isn't a prototype
ltdl.c: In function `presym_exit':
ltdl.c:1497: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:1505: warning: function declaration isn't a prototype
ltdl.c:1543: warning: function declaration isn't a prototype
ltdl.c: In function `presym_open':
ltdl.c:1575: warning: cast discards qualifiers from pointer target type
ltdl.c:1543: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:1593: warning: function declaration isn't a prototype
ltdl.c: In function `presym_close':
ltdl.c:1593: warning: unused parameter `loader_data'
ltdl.c: At top level:
ltdl.c:1603: warning: function declaration isn't a prototype
ltdl.c: In function `presym_sym':
ltdl.c:1603: warning: unused parameter `loader_data'
ltdl.c:1714:5: warning: "HAVE_SHL_LOAD" is not defined
ltdl.c:1723:5: warning: "HAVE_DLD" is not defined
ltdl.c: At top level:
ltdl.c:1939: warning: function declaration isn't a prototype
ltdl.c: In function `find_handle_callback':
ltdl.c:2250: warning: unused parameter `ignored'
ltdl.c:2290:5: warning: "LTDL_DLOPEN_DEPLIBS" is not defined
ltdl.c:2300:5: warning: "LTDL_DLOPEN_DEPLIBS" is not defined
ltdl.c: In function `load_deplibs':
ltdl.c:2288: warning: unused parameter `deplibs'
ltdl.c: At top level:
ltdl.c:2903: warning: function declaration isn't a prototype
ltdl.c: In function `lt_dlopenext':
ltdl.c:2926: warning: unused variable `file_found'
ltdl.c: At top level:
ltdl.c:3057: warning: function declaration isn't a prototype
ltdl.c:3123: warning: function declaration isn't a prototype
ltdl.c: In function `lt_dlpath_insertdir':
ltdl.c:3463: warning: comparison between signed and unsigned
ltdl.c: In function `lt_dlinsertsearchdir':
ltdl.c:3525: warning: cast discards qualifiers from pointer target type
ld: fatal: file /usr/oracle/9205/lib/libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/rlm_sql_oracle-1.0.1.so
gmake[10]: *** [rlm_sql_oracle.la] Error 1
gmake[9]: *** [common] Error 1
gmake[8]: *** [dynamic] Error 2
gmake[7]: *** [common] Error 1
gmake[6]: *** [dynamic] Error 2
gmake[5]: *** [common] Error 1
gmake[4]: *** [all] Error 2
gmake[3]: *** [common] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [common] Error 1
make: Fatal error: Command failed for target `all'
judy
My original msg: Hi, I'd like to know what's the prerequisite to install FreeRadius on solaris 9 box.

My installation stopped at command 'make' with a msg --> make: Fatal error: Command failed for target `all'

My steps of installation are:
 gunzip freeradius-1.0.1.tar.gz
 tar xvf freeradius-1.0.1.tar
 cd freeradius-1.0.1
 ./configure --help
 ./configure --prefix=/usr/local/freeradius --enable-shared=NO
 # I also tried './configure --prefix=/usr/local/freeradius'
 make
 # next step is, as root, execute command 'make install'

The errors and warnings in the config.log are:

> more config.log | grep error
ld: fatal: File processing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
configure:1462: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1462: error: (Each undeclared identifier is reported only once
configure:1462: error: for each function it appears in.)
configure:1491: error: `__MINGW32__' undeclared (first use in this function)
configure:1491: error: (Each undeclared identifier is reported only once
configure:1491: error: for each function it appears in.)
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: File processing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: File processing errors. No output written to conftest
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: File processing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: File processing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
ld: fatal: Symbol referencing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
configure:7813: error: `getusershell' undeclared (first use in this function)
configure:7813: error: (Each undeclared identifier is reported only once
configure:7813: error: for each function it appears in.)
configure:7813: error: `endusershell' undeclared (first use in this function)
configure:7813: error: (Each undeclared identifier is reported only once
configure:7813: error: for each function it appears in.)
configure:7947: error: dereferencing pointer to incomplete type
ld: fatal: File processing errors. No output written to conftest
/* Override any gcc2 internal prototype to avoid an error.  */
configure:8545: error: too many arguments to function `gethostbyaddr_r'
configure:8639: error: too many arguments to function `gethostbyname_r'
configure:8731: error: too many arguments to function `ctime_r'
> more config.log | grep warning
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:7704: warning: conflicting types for built-in function `snprintf'
configure:7704: warning: conflicting types for built-in function `vsnprintf'
configure:8099: warning: function declaration isn't a prototype
configure:8101: warning: function declaration isn't a prototype
configure:8199: warning: function declaration isn't a prototype
configure:8201: warning: function declaration isn't a prototype
configure:8258: warning: function declaration isn't a prototype
configure:8259: warning: unused variable `a'
configure:8299: warning: function declaration isn't a prototype
configure:8300: warning: unused variable `a'
configure:8299: warning: function declaration isn't a prototype
configure:8300: warning: unused variable `a'
configure:8346: warning: function declaration isn't a prototype
configure:8347: warning: unused variable `a'
configure:8346: warning: function declaration isn't a prototype
configure:8347: warning: unused variable `a'
configure:8393: warning: function declaration isn't a prototype
configure:8394: warning: unused variable `a'
configure:8393: warning: function declaration isn't a prototype
configure:8394: warning: unused variable `a'
configure:8544: warning: function declaration isn't a prototype
configure:8571: warning: function declaration isn't a prototype
configure:8638: warning: function declaration isn't a prototype
configure:8664: warning: function declaration isn't a prototype
configure:8730: warning: function declaration isn't a prototype
configure:8755: warning: function declaration isn't a prototype

Tks in advance,

Judy


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

Reply via email to