> $ make PROGRAMS="scp" STATIC=1 > gcc -L/usr/local/lib -R/usr/local/lib -static -o scp scp.o > progressmeter.o atomicio.o scpmisc.o compat.o > ld: fatal: library -lc: not found
As Matt said, you cannot make static programs on Solaris. Solaris does not ship with a libc.a, only a libc.so. This would be an excellent reason to change operating systems and use something less braindead and obsolete. But if you're hell-bent on using Solaris, just remove the STATIC=1 part of your command line and dropbear should compile without trouble, it will simply use dynamic libraries. -- Laurent