Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: make failure on Solaris 10 |
|---|---|
| Date: | Tue, 1 Aug 2006 10:37:42 -0500 |
Hey John,
I've had various problems with gcc 3.3.2 from sunfreeware and S10 as well. Have you tried building with gcc 3.4.3 that I believe comes with S10 and is located under /usr/sfw/bin/gcc?
Thanks Nathan Sportsman
We've been building a version of openssh with a chroot patch (www.coding-zone.com/chroot+sftp-server.patch) for the last couple of years on Solaris 7, 8 and 9, with no issues. As of Solaris 10 we get the following error when "make" runs:
PATH=/usr/ccs/bin:/usr/local/bin LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib
The configure command is: LD_PATH_RUN=/usr/local/ssl/lib:/usr/local/lib ./configure --with-ssl-dir=/usr/local/ssl --with-pam --sysconfdir=/etc --with-tcp-wrappers
The make command and output is:
LD_PATH_RUN=/usr/local/ssl/lib:/usr/local/lib make <snip non-failing pieces> (cd openbsd-compat && make) gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -I. -I.. -I. -I./.. -I/usr/local/ssl/include -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from ../includes.h:31, from bsd-arc4random.c:17: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from ../includes.h:31, from bsd-arc4random.c:17: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from ../includes.h:31, from bsd-arc4random.c:17: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" In file included from ../includes.h:104, from bsd-arc4random.c:17: /usr/include/sys/wait.h:86: error: parse error before "siginfo_t" In file included from ../includes.h:206, from bsd-arc4random.c:17: ../defines.h:285: warning: redefinition of `sig_atomic_t' /usr/include/iso/signal_iso.h:41: warning: `sig_atomic_t' previously declared here *** Error code 1 make: Fatal error: Command failed for target `bsd-arc4random.o' Current working directory /build-XXX-openssh-4.3p2-sol10/openssh-4.3p2/openbsd-compat *** Error code 1 make: Fatal error: Command failed for target `openbsd-compat/libopenbsd-compat.a' </snip>
In all cases we're using the Sunfreeware versions of gcc (3.3.2), zlib (1.2.3), tcp_wrappers (7.6) and openssl (0.9.8b).
I've gone back and checked the builds for Solaris 7, 8 and 9, and this step in the make doesn't fail and there are no obvious warning messages.
Any assistance would be much appreciated.
Regards,
John Boxall
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Incremental delay in ssh, Patrick Morris |
|---|---|
| Next by Date: | Re: Tacacs and OpenSSH, ankush grover |
| Previous by Thread: | Re: Tacacs and OpenSSH, Gary Schlachter |
| Next by Thread: | HPN-SSH, Ramesh Patel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |