X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <52b9b120903030920v35cfa557le0d37d0187b3b56a@mail.gmail.com> References: <52b9b120903030920v35cfa557le0d37d0187b3b56a AT mail DOT gmail DOT com> Date: Wed, 4 Mar 2009 19:26:01 +0700 Message-ID: <52b9b120903040426v634dcbeam55f8ba7053d9d5da@mail.gmail.com> Subject: Re: help with pseudo terminal From: net To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com i'm upgrading to the lates cygwin but still have an error power AT kancil ~/sshpass-1.00 $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands power AT kancil ~/sshpass-1.00 $ make gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c main.c gcc -g -O2 -o sshpass main.o main.o: In function `runprogram': /home/power/sshpass-1.00/main.c:153: undefined reference to `_getpt' collect2: ld returned 1 exit status make: *** [sshpass] Error 1 i don't think upgrading is the solution for this please help On 3/4/09, net wrote: > i'm trying to execute this line on my cygwin shell > > $ echo wew | ssh wew AT 10 DOT 192 DOT 30 DOT 40 > > an this is the output > Pseudo-terminal will not be allocated because stdin is not a terminal. > > is there something i must know about this > > because i also try to compile sshpass packages and got this error > > power AT kancil ~/sshpass-1.00 > $ make > gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c main.c > gcc -g -O2 -o sshpass main.o > main.o: In function `runprogram': > /home/power/sshpass-1.00/main.c:153: undefined reference to `_getpt' > collect2: ld returned 1 exit status > make: *** [sshpass] Error 1 > > is there something to do with the pseudo terminal... > > thanks > > -- > --from the net with zero space-- > -- --from the net with zero space-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/