public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* what am I doing wrong?
@ 2002-04-07 13:55 Eli Kleinman
  2002-04-07 15:47 ` David Means
  2002-04-08  0:30 ` Pavel Tsekov
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Kleinman @ 2002-04-07 13:55 UTC (permalink / raw)
  To: cygwin

$ echo hello | mutt -s test elik@bhphotovideo.com
Error sending message, child exited 127 (Exec error.).
Could not send the message.

or
by just typing
mutt -s test elik@bhphotovideo.com
-- Mutt: Compose
Error sending message, child exited 127 (Exec error.).

thanks for any help
Eli

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what am I doing wrong?
  2002-04-07 13:55 what am I doing wrong? Eli Kleinman
@ 2002-04-07 15:47 ` David Means
  2002-04-08  0:30 ` Pavel Tsekov
  1 sibling, 0 replies; 6+ messages in thread
From: David Means @ 2002-04-07 15:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Looks like something that mutt depends upon is missing or does not have
the execute bit set.

Works like a champ on my system.

try 'strace mutt -s test elik@bhphotovideo.com'

Assuming you're on a linux system.  If you're running Solaris, that'll
be 'truss' instead.


David


On Sun, 2002-04-07 at 16:58, Eli Kleinman wrote:
> $ echo hello | mutt -s test elik@bhphotovideo.com
> Error sending message, child exited 127 (Exec error.).
> Could not send the message.
> 
> or
> by just typing
> mutt -s test elik@bhphotovideo.com
> -- Mutt: Compose
> Error sending message, child exited 127 (Exec error.).
> 
> thanks for any help
> Eli
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
-- 

The Meaning of Life, the Universe and Everything:
           10x + 5x - 35 = x + 7

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what am I doing wrong?
  2002-04-07 13:55 what am I doing wrong? Eli Kleinman
  2002-04-07 15:47 ` David Means
@ 2002-04-08  0:30 ` Pavel Tsekov
  1 sibling, 0 replies; 6+ messages in thread
From: Pavel Tsekov @ 2002-04-08  0:30 UTC (permalink / raw)
  To: Eli Kleinman; +Cc: cygwin

Hello Eli,

Seems like you're missing the mutt package. Run setup.exe and check if
it is installed.

Sunday, April 07, 2002, 10:58:45 PM, you wrote:

EK> $ echo hello | mutt -s test elik@bhphotovideo.com
EK> Error sending message, child exited 127 (Exec error.).
EK> Could not send the message.

EK> or
EK> by just typing
EK> mutt -s test elik@bhphotovideo.com
EK> -- Mutt: Compose
EK> Error sending message, child exited 127 (Exec error.).


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* What am I doing wrong?
@ 2000-09-18 14:03 Snow, Deborah
  0 siblings, 0 replies; 6+ messages in thread
From: Snow, Deborah @ 2000-09-18 14:03 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

Hello,
  I am trying to compile C++ software done under Visual Studio
on Windows 2000 to cygwin.  I am new to cygwin.

  I need to include windows.h, winsock2.h in my code.
  I have simple functions such as lseek, close, read and write in the code.
  I cannot include io.h because I compile with g++ -ansi and
  the define _STRICT_ANSI won't allow prototypes for these functions
  to be set.  Don't know why, they are pretty common.

  I tried to find out elsewhere they are prototyped in cygwin, and it looks
like unistd.h.
  So I included unistd.h.

   When I try to compile including unistd.h I get a conflict between
  the definitions of gethostname between unistd.h and winsock.h..
  What is the secret to getting ansi code to compile under cygwin?
  Any help would be greatly appreciated,

  Deb Snow

  Analysis & Technology
  Engineering Technology Center
  Mystic, CT (860)572-9600
  .


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what am i doing wrong?
@ 1998-01-02  9:21 Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1998-01-02  9:21 UTC (permalink / raw)
  To: BMullenber; +Cc: gnu-win32

Hi Brandon,

Try:
gcc -o hello.exe hello.c

or
gcc -c hello.c
gcc -o hello.exe hello.o

The Cygnus gnu-win32 version of GCC is to aid in porting UNIX programs 
to WIN32.  You should have a working knowledge of UNIX.  There are some 
who have taken this work and gotten rid of the UNIX layer (see Colin 
Peters' page and Mumit Khan's page).  

The ln command is a "link" command but it is relation to creating 
pointers to files on disk with a different name.  IE: ln hello.c 
goodbye.c would create a pointer file named goodbye.c pointing to 
hello.c.  If you edit goodbye.c you would really be editing hello.c.  
There are two types of links a "hard link" and a "symbolic link".  The 
hard link is not supported on W95,  to use symbolic links you would use 
"ln -s realfile pointerfile".

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------

Let me point you to:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/           (ftp site)
http://www.cygnus.com/pubs/gnupro/                   (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/                (Project Page)
http://www.cygnus.com/ml/gnu-win32                   (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/    (HTML Man Pages)
http://www.lexa.ru/sos                               (Sergey Okhapkin)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html        (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan)

>From: BMullenber <BMullenber@aol.com>
>Date: Fri, 2 Jan 1998 04:52:17 EST
>To: gnu-win32@cygnus.com
>Subject: what am i doing wrong?
>
>I have really no idea how to link a object file into a exec program or 
even
>how to run g++. I tried a simple hello program and had no success.  
Anyone
>know how to link a program and want to help me, i made an obj file 
using
>another compiler?
>
>what exec program is the linker, is it ln.exe?
>
>C:\gnuwin32\b18\H-i386-cygwin32\bin>ln C:\compiler\work\hello.obj
>/GNUWIN32/B18/H-I386~1/BIN/LN.EXE: cannot create hard link 
`./C:\compiler
>ello.obj' to `C:\compiler\work\hello.obj': No such file or directory
>
>Also, I set the Variables and Path too, is this correct?  I have win95.
>
>cd\gnuwin32\b18\
>set GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
>PATH=C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin
>set TCL_LIBRARY=C:\gnuwin32\b18\tcl\lib\tcl7.6
>set GDBTK_LIBRARY=C:\gnuwin32\b18\share\gdbtcl
>
>Brandon
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* what am i doing wrong?
@ 1998-01-02  1:53 BMullenber
  0 siblings, 0 replies; 6+ messages in thread
From: BMullenber @ 1998-01-02  1:53 UTC (permalink / raw)
  To: gnu-win32

I have really no idea how to link a object file into a exec program or even
how to run g++. I tried a simple hello program and had no success.  Anyone
know how to link a program and want to help me, i made an obj file using
another compiler?

what exec program is the linker, is it ln.exe?

C:\gnuwin32\b18\H-i386-cygwin32\bin>ln C:\compiler\work\hello.obj
/GNUWIN32/B18/H-I386~1/BIN/LN.EXE: cannot create hard link `./C:\compiler
ello.obj' to `C:\compiler\work\hello.obj': No such file or directory

Also, I set the Variables and Path too, is this correct?  I have win95.

cd\gnuwin32\b18\
set GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
PATH=C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin
set TCL_LIBRARY=C:\gnuwin32\b18\tcl\lib\tcl7.6
set GDBTK_LIBRARY=C:\gnuwin32\b18\share\gdbtcl

Brandon
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-08  7:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-07 13:55 what am I doing wrong? Eli Kleinman
2002-04-07 15:47 ` David Means
2002-04-08  0:30 ` Pavel Tsekov
  -- strict thread matches above, loose matches on Subject: below --
2000-09-18 14:03 What " Snow, Deborah
1998-01-02  9:21 what am i " Earnie Boyd
1998-01-02  1:53 BMullenber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).