public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* broken ncurses-installation
@ 2001-05-01  6:32 Felix Natter
  2001-05-01  6:43 ` egor duda
  2001-05-01  7:45 ` Earnie Boyd
  0 siblings, 2 replies; 6+ messages in thread
From: Felix Natter @ 2001-05-01  6:32 UTC (permalink / raw)
  To: cygwin

hi,

I saved the following as test_curses.c:
#include <curses.h>

int main(int argc, char** argv)
{
	initscr();
	wclear(stdscr);
	waddstr(stdscr, "hello world");
	wrefresh(stdscr);
	getch();
    endwin();
}

gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
=> undefined reference to endwin ...
gcc -o test_curses.exe test_curses.c
=> undefined reference to _imp__endwin ...

I looks like I have a broken installation. In fact, I installed very
"unconventionally": I downloaded setup.exe, and ran it using wine on
a linux-system (I had to because my windows95-partition is not currently
connected to the internet). After some time, my internet-connection
broke down. I copied the latest/-directory to my win95-partition,
and downloaded the remaining packages. Then I started win95 and run
setup.exe with the option "install from local directory".
here are the packages I installed:

ash	  bison  crypt	  file	     gcc    gzip       make	  tar
autoconf  byacc  cygwin   fileutils  gdb    inetutils  ncurses	  vim
automake  bzip2  dejagnu  findutils  gperf  less       sed	  w32api
bash	  clear  diff	  flex	     grep   login      setup.exe
binutils  cpio	 expect   gawk	     groff  m4	       sh-utils

here is the output of cygcheck.exe -s -v -r:


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue May  1 15:09:32 2001

Win95 Ver 4.0 build 67109975  B

Path:	/usr/local/bin
	/usr/bin
	/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/ADABAS/BIN
	/cygdrive/c/ADABAS/PGM

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

PWD = `/home/ulrike natter'
USER = `ulrike natter'
MAKE_MODE = `unix'
HOME = `/home/ulrike natter'

PROMPT = `$p$g'
DBROOT = `C:\Adabas'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
!C: = `C:\cygwin\bin'
DBWORK = `C:\Adabas\sql'
CMDLINE = `bash --login -i'
HOSTNAME = `ULRIKENA'
WINDIR = `C:\WINDOWS'
WINBOOTDIR = `C:\WINDOWS'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
BLASTER = `A220 I5 D1 H5 P330 T6'
MACHTYPE = `i686-pc-cygwin'
OLDPWD = `/usr/bin'
TEMP = `/cygdrive/c/WINDOWS/TEMP'
SHLVL = `1'
SHELL = `/bin/sh'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
DBCONFIG = `C:\Adabas\sql'
TERM = `cygwin'
_ = `/usr/bin/cygcheck.exe'
TZ = `MEZMZ-1MEZMS-2,M3.5.0/2,M10.5.0/3'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D

a:  fd           N/A    N/A                    
c:  hd  FAT32   2990Mb  31% CP    UN           VIRUS95
d:  cd           N/A    N/A                    

C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin  /        system  binmode

Found: C:\cygwin\bin\bash.exe
Not Found: cat
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/21 0:53
  390k 2000/11/26 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/26 2:39
    5k 2000/11/26 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/11/26 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/26 2:39
   81k 2000/11/26 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/26 2:43
   35k 2000/11/26 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/26 2:43
  623k 2000/11/26 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/26 2:43
   82k 2001/01/21 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/1/21 21:39
   53k 2001/01/21 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/1/21 21:39
  414k 2001/01/21 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/1/21 21:40
  299k 2001/01/21 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/1/21 21:38
   34k 2001/01/21 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/1/21 21:38
  615k 2001/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/1/31 16:08
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 8
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 34
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Wed Jan 31 10:08:38 EST 2001
        shared id: cygwin1S3

Use -h to see help about each section

BTW: where can I get "cat" from ?

thanks,

-- 
Felix Natter

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: broken ncurses-installation
  2001-05-01  6:32 broken ncurses-installation Felix Natter
@ 2001-05-01  6:43 ` egor duda
  2001-05-02  8:34   ` Felix Natter
  2001-05-01  7:45 ` Earnie Boyd
  1 sibling, 1 reply; 6+ messages in thread
From: egor duda @ 2001-05-01  6:43 UTC (permalink / raw)
  To: Felix Natter; +Cc: cygwin

Hi!

Tuesday, 01 May, 2001 Felix Natter f.natter@ndh.net wrote:

FN> hi,

FN> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
=>> undefined reference to endwin ...

you want to add '-lcurses' to the command line, just like it's being
done on Linux.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: broken ncurses-installation
  2001-05-01  6:32 broken ncurses-installation Felix Natter
  2001-05-01  6:43 ` egor duda
@ 2001-05-01  7:45 ` Earnie Boyd
  1 sibling, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 2001-05-01  7:45 UTC (permalink / raw)
  To: Felix Natter; +Cc: cygwin

Felix Natter wrote:
> 

-8<-

> setup.exe with the option "install from local directory".
> here are the packages I installed:
> 
> ash       bison  crypt    file       gcc    gzip       make       tar
> autoconf  byacc  cygwin   fileutils  gdb    inetutils  ncurses    vim
> automake  bzip2  dejagnu  findutils  gperf  less       sed        w32api
> bash      clear  diff     flex       grep   login      setup.exe
> binutils  cpio   expect   gawk       groff  m4         sh-utils
> 
-8<-
> 
> BTW: where can I get "cat" from ?
> 

It's a textutils program.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: broken ncurses-installation
  2001-05-01  6:43 ` egor duda
@ 2001-05-02  8:34   ` Felix Natter
  2001-05-02 11:13     ` Charles Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Felix Natter @ 2001-05-02  8:34 UTC (permalink / raw)
  To: cygwin

egor duda <deo@logos-m.ru> writes:

> Hi!
> 
> Tuesday, 01 May, 2001 Felix Natter f.natter@ndh.net wrote:
> 
> FN> hi,
> 
> FN> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
> =>> undefined reference to endwin ...
this should be:
        gcc -lcurses -static -DNCURSES_STATIC -o test_curses.exe test_curses
> you want to add '-lcurses' to the command line, just like it's being
> done on Linux.

Sorry, once again I forgot to mention this. Of course I added -lcurses to
the line (I also tried to list the static library with the full path).

-- 
Felix Natter

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: broken ncurses-installation
  2001-05-02  8:34   ` Felix Natter
@ 2001-05-02 11:13     ` Charles Wilson
  2001-05-03 11:06       ` Felix Natter
  0 siblings, 1 reply; 6+ messages in thread
From: Charles Wilson @ 2001-05-02 11:13 UTC (permalink / raw)
  To: Felix Natter; +Cc: cygwin

Felix, this is the second time you have explicitly listed your "command
line" -- but that "command line" did not have the required '-lcurses'
argument.  This is also the second time you have claimed, "oh yeah, I
"of course" had that option" after somebody pointed out that it was
missig.  Are you SURE you had the -lcurses?  (Or did you forget to type
the MOST IMPORTANT fraggin' part of the command in TWO separate email
messages, but "of course" NOT forget when typing it in their shell?  --
cut-n-paste from the command window is your friend...)

Also, the fact that '-lcurses' was not included in your email messages
means that we don't know *where* in your command line the 'lcurses'
argument appeared (you know it has to come *after* the object files that
require it, right?)

Finally, you *MAY* be running in to some hitherto unknown symlink
problem.  /usr/lib/libcurses.a/libcurses.dll.a are symlinks to
/usr/lib/libncurses.a/libncurses.dll.a.  Try using '-lncurses' instead
of '-lcurses'.

I'm sorry, but I can't reproduce your problem.  However, I don't think
there's anything wrong with your installation method; you are missing a
few packages but those absenses should not affect your test program's
build. 

Having a space in your homedir name is probably not a good idea.
Having a space in your login name is probably not a good idea.
Having TEMP=something with /cygdrive/ in it is not good.

> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
> => undefined reference to endwin ...
> gcc -o test_curses.exe test_curses.c
> => undefined reference to _imp__endwin ...

The results of these two commands indicate that you DO have
/usr/include/curses.h.  However, let's check the basics: do the files
/usr/lib/libncurses.a and/or /usr/lib/libncurses.dll.a exist?  Do the
symlinks /usr/lib/libcurses.a and/or /usr/lib/libcurses.dll.a exist?

--Chuck


Felix Natter wrote:
> 
> egor duda <deo@logos-m.ru> writes:
> 
> > Hi!
> >
> > Tuesday, 01 May, 2001 Felix Natter f.natter@ndh.net wrote:
> >
> > FN> hi,
> >
> > FN> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
> > =>> undefined reference to endwin ...
> this should be:
>         gcc -lcurses -static -DNCURSES_STATIC -o test_curses.exe test_curses
> > you want to add '-lcurses' to the command line, just like it's being
> > done on Linux.
> 
> Sorry, once again I forgot to mention this. Of course I added -lcurses to
> the line (I also tried to list the static library with the full path).
> 
> --
> Felix Natter
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: broken ncurses-installation
  2001-05-02 11:13     ` Charles Wilson
@ 2001-05-03 11:06       ` Felix Natter
  0 siblings, 0 replies; 6+ messages in thread
From: Felix Natter @ 2001-05-03 11:06 UTC (permalink / raw)
  To: cygwin

Charles Wilson <cwilson@ece.gatech.edu> writes:

> Felix, this is the second time you have explicitly listed your "command
> line" -- but that "command line" did not have the required '-lcurses'
> argument.  This is also the second time you have claimed, "oh yeah, I
> "of course" had that option" after somebody pointed out that it was
> missig.  Are you SURE you had the -lcurses?  (Or did you forget to type
> the MOST IMPORTANT fraggin' part of the command in TWO separate email
> messages, but "of course" NOT forget when typing it in their shell?  --

I just copied the first mail and forgot to correct that mistake.

> cut-n-paste from the command window is your friend...)

yes, my windows-skills are very limited (without having emacs around ;-)).
 
> Also, the fact that '-lcurses' was not included in your email messages
> means that we don't know *where* in your command line the 'lcurses'
> argument appeared (you know it has to come *after* the object files that
> require it, right?)

yes, *thank you* that was it.
I attempted:
        gcc -lcurses test_curses.c -o test_curses.exe
and this works:
        gcc test_curses.c -o test_curses.exe -lcurses

Is there a reason why gcc/ld behave different than on GNU/Linux
(the first command works fine on linux) ? 

-- 
Felix Natter

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2001-05-03 11:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-01  6:32 broken ncurses-installation Felix Natter
2001-05-01  6:43 ` egor duda
2001-05-02  8:34   ` Felix Natter
2001-05-02 11:13     ` Charles Wilson
2001-05-03 11:06       ` Felix Natter
2001-05-01  7:45 ` Earnie Boyd

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).