Mail Archives: cygwin-developers/2001/11/26/04:39:02
> > -----Original Message-----
> > From: Gary R. Van Sickle [mailto:g DOT r DOT vansickle AT worldnet DOT att DOT net]
> > Nope. The only exe that's building for me is setup.exe.
>
> Setup.exe should build - what error are you seeing?
>
> Rob
No, setup.exe is the *only* thing that's been building for me. The rest of the
cygwin EXEs aren't. I think I may have discovered the problem though, and if
so, it's of my own doing. I'm doing a build right now to make sure, but if it
is successful as I suspect it will be, I'll have to retract my 'me too' to
Norman's problem.
As long as I have you 'on the line' as it were Rob, I have a question on
setup.exe over on -apps.
...OK, build's done. The problem I had caused is fixed, and now I'm seeing
exactly the same errors Norman reported. The only executables that end up
getting build are cygwin1.dll, mingwm10.dll, and setup.exe. To wit:
[...]
gcc -L/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup -L/home/grvs/src/cygwin-ob
j/i686-pc-cygwin/winsup/cygwin -L/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup
/w32api/lib -isystem /home/grvs/src/src/winsup/include -isystem
/home/grvs/src/src/winsup/cygwin/include -isystem
/home/grvs/src/src/winsup/w32api/include -isystem
/home/grvs/src/src/newlib/libc/sys/cygwin -isystem
/home/grvs/src/src/newlib/libc/sys/cygwin32 -B/home/grvs/src/cygwin-obj/i686-pc-
cygwin/newlib/ -isystem
/home/grvs/src/cygwin-obj/i686-pc-cygwin/newlib/targ-include -isystem
/home/grvs/src/src/newlib/libc/include -nodefaultlibs -o cygrun.exe cygrun.o
libcygwin.a
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/w32api/lib/libuser32.a
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/w32api/lib/libshell32.a
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/w32api/lib/libkernel32.a
cygrun.o: In function `main':
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:22: undefined reference to `__main'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:29: undefined reference to `fprintf'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:30: undefined reference to `exit'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:33: undefined reference to `putenv'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:40: undefined reference to `fprintf'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/cygrun.c:41: undefined reference to `exit'
libcygwin.a(cygwin_crt0.o): In function `cygwin_crt0':
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/cygwin_crt0.c:32: undefined reference to `import stub for
dll_crt0(per_process *)'
libcygwin.a(_cygwin_crt0_common.o): In function `cygwin_crt0_common':
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/_cygwin_crt0_common.cc:43: undefined reference to `cygwin_internal'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/_cygwin_crt0_common.cc:84: undefined reference to `malloc'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/_cygwin_crt0_common.cc:85: undefined reference to `free'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/_cygwin_crt0_common.cc:86: undefined reference to `realloc'
/home/grvs/src/cygwin-obj/i686-pc-cygwin/winsup/cygwin/../../../../src/winsup/cy
gwin/lib/_cygwin_crt0_common.cc:87: undefined reference to `calloc'
collect2: ld returned 1 exit status
make[2]: *** [cygrun.exe] Error 1
[...]
Looks like a missing libc.a on the link line (libc.a does get built fine).
--
Gary R. Van Sickle
Brewer. Patriot.
- Raw text -