Boyd, Hugh
2004-Dec-17 21:25 UTC
Compiler messages when building opsnssh 3.9pl for hp_ux 11.0
All, I have encountered an issue with builds for openssh 3.9pl on the hp_ux 11.0 platform. The compiler (gcc) generates about 380 warning message and the build fails because of excessive numbers of warnings. The warnings that I am receiving are as follows: /vobs/ecm_gcc/hp-ux-b-11-00/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/inc lude/arpa/nameser.h:94: warning: `/*' within comment Now this one is easy enough, since the nameser.h file is open source, I just removed the superfluous comment tag. That eliminated about 200 warning messages. However, the one that is a bit tougher are these: /usr/include/sys/xti.h:317: warning: `T_NULL' redefined /vobs/ecm_gcc/hp-ux-b-11-00/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/inc lude/arpa/nameser.h:130: warning: this is the location of the previous definition /usr/include/sys/xti.h:326: warning: `T_UNSPEC' redefined /vobs/ecm_gcc/hp-ux-b-11-00/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/inc lude/arpa/nameser.h:155: warning: this is the location of the previous definition /usr/include/sys/xti.h:488: warning: `TCP_NODELAY' redefined /usr/include/netinet/tcp.h:76: warning: this is the location of the previous definition /usr/include/sys/xti.h:489: warning: `TCP_MAXSEG' redefined /usr/include/netinet/tcp.h:77: warning: this is the location of the previous definition All of these comprise a total of about 160 of the warnings that I am seeing. It obviously is the result of constant re-definitions in the header files named above; however, our SA understandably does not want to go into these files an edit them to make the #defines conditional: That is, #ifndef T_NULL #define T_NULL 0 #endif While this appears to be a simple edit, I can understand the reluctance of the SA to do this. Is there a configuration option that I can set to suppress these warnings? Thanks, Hugh Boyd
Seemingly Similar Threads
- compile error in hp-ux 11.23PA system with OpenSSH4.7p1
- need help - where to get binaries for HPUX 11.0 for 2 .2.3a AND winbind
- Sampa-2.2.2 Compile error on HP-UX 11
- Found a bug in the OpsnSSH configuration script
- AIX compilation issues - openssh V 3.8.1p1 and 3.9p1