From: S.A. Birl (sbirl+sunmanagers@concept.ocis.temple.edu)
Date: Mon May 17 2004 - 13:52:35 EDT
Greeting Gurus:
Background:
Recently my beloved Solaris 9 Ultra 10 server bit the dust. :(
I re-installed the OS from the May 2002 CDs then used some SunFreeware
packages to bring my server back up to speed.
When I noticed that some programs (ie: nmap) was relying on the
'missing' stdlibc++ libraries, I used crle to add the /usr/local/lib
path to the Default Library Path.
(This matches my previous output before the re-install)
==============================
Configuration file [3]: /var/ld/ld.config
Default Library Path (ELF): /usr/lib:/usr/local/lib:/usr/local/ssl/lib
Trusted Directories (ELF): /usr/lib/secure (system default)
Command line:
crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib
==============================
Problem:
So while my programs are all happy, I cannot compile via gcc 3.40
(SunFreeware package) anymore. (ie: pine 4.60)
==============================
In file included from pico_os.c:4486:
/usr/include/stropts.h:42: error: conflicting types for 'ioctl'
/usr/include/stropts.h:42: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
pico_os.c:236: error: previous implicit declaration of 'ioctl' was here
*** Error code 1
make: Fatal error: Command failed for target `pico_os.o'
==============================
I googled and searched the SunManagers archives, but could not find
anything specific to the error messages above.
Im sure there's some way to correct this besides tinkering with the .h
files.
Thanks. Will summarize.
Scott Birl
Senior Systems Administrator Computer Services Temple University
====*====*====*====*====*====*====*====+====*====*====*====*====*====*====*====*
NOTE: Im only a peon with NO buying or decision-making power.
Do NOT spam or telemarket me about SUN products or services.
Procmail is my friend. And I have the ability to -HUP my phone.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:40 EDT