Mail Archives: cygwin/1999/10/08/14:19:46
I untarred cygwin-src-19990920_tar and attemped to build cygwin1.dll.
I am getting a lot of errors like the following in the winsup directory.
Has anybody encountered/worked through this problem?
Thanks for any tips.
-jon hale
/D/cyglinks/obj/gcc/xgcc -B/D/cyglinks/obj/gcc/ -B/cw/install/i686-pc-cygwin
32/bin/ -B/D/cyglinks/obj/i686-pc-cygwin32/newlib/ -L/D/cyglinks/obj/i686-pc
-cygwin32/winsup -idirafter
/D/cyglinks/obj/i686-pc-cygwin32/newlib/targ-include -idirafter
/D/cyglinks/src/winsup/include -idirafter
/D/cyglinks/src/newlib/libc/include -idirafter
/D/cyglinks/src/newlib/libc/sys/cygwin -idirafter
/D/cyglinks/src/newlib/libc/sys/cygwin32 -nostdinc -c -fno-rtti -fno-excepti
ons -g -O2 -Wall -Wwrite-strings -I/cw/src/wi
nsup/include -I/cw/src/winsup -I/cw/src/newlib/libc/sys/cygwin -I/cw/src/new
lib/libc/include -I/cw/src/winsup/config/i386 -nostdinc++ -o scandir.o
/cw/src/winsup/scandir.cc
Making version.cc
/D/cyglinks/obj/gcc/xgcc -B/D/cyglinks/obj/gcc/ -B/cw/install/i686-pc-cygwin
32/bin/ -B/D/cyglinks/obj/i686-pc-cygwin32/newlib/ -L/D/cyglinks/obj/i686-pc
-cygwin32/winsup -idirafter
/D/cyglinks/obj/i686-pc-cygwin32/newlib/targ-include -idirafter
/D/cyglinks/src/winsup/include -idirafter
/D/cyglinks/src/newlib/libc/include -idirafter
/D/cyglinks/src/newlib/libc/sys/cygwin -idirafter
/D/cyglinks/src/newlib/libc/sys/cygwin32 -nostdinc -c -fno-rtti -fno-excepti
ons -g -O2 -Wall -Wwrite-strings -I/cw/src/wi
nsup/include -I/cw/src/winsup -I/cw/src/newlib/libc/sys/cygwin -I/cw/src/new
lib/libc/include -I/cw/src/winsup/config/i386 -nostdinc++ -o version.o
version.cc
/D/cyglinks/obj/ld/ld-new --base-file=cygwin.base -s -o /dev/null --dll
setjmp.o longjmp.o ../libiberty/random.o ../libiberty/strsignal.o
regexp/regexp.o regexp/regerror.o regexp/regsub.o assert.o dcrt0.o debug.o
delqueue.o dir.o dlfcn.o dll_init.o environ.o errno.o exceptions.o exec.o
external.o fcntl.o fhandler.o fhandler_console.o fhandler_serial.o
fhandler_termios.o fhandler_tty.o fhandler_windows.o fhandler_raw.o
fhandler_floppy.o fhandler_tape.o fork.o glob.o grp.o heap.o hinfo.o init.o
ioctl.o local
time.o malloc.o mmap.o net.o ntea.o passwd.o path.o pinfo.o pipe.o
registry.o resource.o scandir.o security.o select.o shared.o signal.o
sigproc.o smallprint.o spawn.o strace.o strsep.o syscalls.o sysconf.o
syslog.o termios.o times.o tty.o uinfo.o uname.o wait.o window.o version.o
libkernel32.a libadvapi32.a ../newlib/libm.a ../newlib/libc.a
/D/cyglinks/obj/gcc/libgcc.a -e _dll_entry AT 12 --image-base=0x61000000
/D/cyglinks/obj/ld/ld-new: fhandler_floppy.o: warning: duplicate section
`.data$_vt$19fhandler_dev_floppy' has different size
fhandler_floppy.o: In function `_19fhandler_dev_floppyPCci':
/cw/src/winsup/fhandler_floppy.cc:39: multiple definition of
`fhandler_dev_floppy::fhandler_dev_floppy(char const *, int)'
fhandler.o:/cw/src/winsup/fhandler.cc:1301: first defined here
fhandler_floppy.o: In function `fhandler_dev_floppy::open(char const *,
int, int)':
/cw/src/winsup/fhandler_floppy.cc:46: multiple definition of
`fhandler_dev_floppy::open(char const *, int, int)'
fhandler.o:/cw/src/winsup/fhandler.cc:1309: first defined here
/D/cyglinks/obj/ld/ld-new: fhandler_tape.o: warning: duplicate section
`.data$_vt$17fhandler_dev_tape' has different size
fhandler_tape.o: In function `_17fhandler_dev_tapePCci':
/cw/src/winsup/fhandler_tape.cc:52: multiple definition of
`fhandler_dev_tape::fhandler_dev_tape(char const *, int)'
fhandler.o:/cw/src/winsup/fhandler.cc:1317: first defined here
fhandler_tape.o: In function `fhandler_dev_tape::open(char const *, int,
int)':
/cw/src/winsup/fhandler_tape.cc:59: multiple definition of
`fhandler_dev_tape::open(char const *, int, int)'
fhandler.o:/cw/src/winsup/fhandler.cc:1325: first defined here
times.o: In function `localtime':
/cw/src/winsup/times.cc:373: multiple definition of `localtime'
localtime.o:/cw/src/winsup/localtime.c:1620: first defined here
times.o: In function `gmtime':
/cw/src/winsup/times.cc:415: multiple definition of `gmtime'
localtime.o:/cw/src/winsup/localtime.c:1681: first defined here
times.o: In function `tzset':
/cw/src/winsup/times.cc:560: multiple definition of `tzset'
localtime.o:/cw/src/winsup/localtime.c:1498: first defined here
times.o(.data+0x0):times.cc: multiple definition of `_tzname'
localtime.o:/cw/src/winsup/localtime.c:684: first defined here
times.o(.data+0x8):times.cc: multiple definition of `_timezone'
localtime.o:/cw/src/winsup/localtime.c:684: first defined here
times.o(.data+0xc):times.cc: multiple definition of `_daylight'
localtime.o:/cw/src/winsup/localtime.c:685: first defined here
assert.o: In function `_assert':
/cw/src/winsup/assert.cc:38: undefined reference to `MessageBoxA AT 16'
dcrt0.o: In function `dll_crt0_1(per_process *)':
/cw/src/winsup/dcrt0.cc:602: undefined reference to `CharToOemA AT 8'
fhandler_termios.o: In function `fhandler_termios::tcsetpgrp(int)':
/cw/src/winsup/fhandler_termios.cc:61: undefined reference to
`strace_active'
fhandler_termios.o: In function `fhandler_termios::set_ctty(int, int)':
/cw/src/winsup/fhandler_termios.cc:84: undefined reference to
`strace_active'
fhandler_termios.o: In function `fhandler_termios::bg_check(int, int)':
/cw/src/winsup/fhandler_termios.cc:111: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:120: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:127: undefined reference to
`pinfo::getsig(int)'
/cw/src/winsup/fhandler_termios.cc:127: undefined reference to
`pinfo::getsigmask(void)'
fhandler_termios.o: In function `fhandler_termios::line_edit(char const
*, int, int)':
/cw/src/winsup/fhandler_termios.cc:165: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:195: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:195: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:229: undefined reference to
`fhandler_base::eat_readahead(int)'
/cw/src/winsup/fhandler_termios.cc:237: undefined reference to
`fhandler_base::eat_readahead(int)'
/cw/src/winsup/fhandler_termios.cc:241: undefined reference to
`fhandler_base::peek_readahead(int)'
/cw/src/winsup/fhandler_termios.cc:246: undefined reference to
`fhandler_base::eat_readahead(int)'
/cw/src/winsup/fhandler_termios.cc:259: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:268: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_termios.cc:276: undefined reference to
`fhandler_base::put_readahead(char)'
fhandler_windows.o: In function `fhandler_windows::write(void const *,
unsigned int)':
/cw/src/winsup/fhandler_windows.cc:67: undefined reference to
`PostMessageA AT 16'
/cw/src/winsup/fhandler_windows.cc:76: undefined reference to
`SendMessageA AT 16'
fhandler_windows.o: In function `fhandler_windows::read(void *, unsigned
int)':
/cw/src/winsup/fhandler_windows.cc:91: undefined reference to
`GetMessageA AT 16'
fhandler_raw.o: In function `fhandler_dev_raw::writebuf(void)':
/cw/src/winsup/fhandler_raw.cc:58: undefined reference to
`strace_active'
fhandler_raw.o: In function `_16fhandler_dev_rawUlPCci':
/cw/src/winsup/fhandler_raw.cc:66: undefined reference to
`fhandler_base::fhandler_base(unsigned long, char const *, int)'
fhandler_raw.o: In function `fhandler_dev_raw::de_linearize(char const
*, char const *, char const *)':
/cw/src/winsup/fhandler_raw.cc:82: undefined reference to
`fhandler_base::de_linearize(char const *, char const *, char const *)'
fhandler_raw.o: In function `fhandler_dev_raw::raw_read(void *, unsigned
int)':
/cw/src/winsup/fhandler_raw.cc:181: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_raw.cc:201: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_raw.cc:208: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_raw.cc:214: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_raw.cc:259: undefined reference to
`strace_active'
fhandler_raw.o:/cw/src/winsup/fhandler_raw.cc:263: more undefined
references to `strace_active' follow
fhandler_raw.o: In function `fhandler_dev_raw::raw_write(void const *,
unsigned int)':
/cw/src/winsup/fhandler_raw.cc:344: undefined reference to
`seterrno(char const *, int)'
fhandler_raw.o: In function `fhandler_dev_raw::ioctl(unsigned int, void
*)':
/cw/src/winsup/fhandler_raw.cc:491: undefined reference to
`seterrno(char const *, int)'
fhandler_raw.o: In function `fhandler_dev_raw::clear(void)':
/cw/src/winsup/fhandler_raw.cc:34: undefined reference to
`fhandler_base::init(void *, unsigned long, int)'
fhandler_raw.o: In function `fhandler_dev_raw::writebuf(void)':
/cw/src/winsup/fhandler_raw.cc:48: undefined reference to
`fhandler_base::ready_for_read(int, unsigned long, int)'
fhandler_floppy.o: In function `fhandler_dev_floppy::is_eom(int)':
/cw/src/winsup/fhandler_floppy.cc:26: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::is_eom(int)':
/cw/src/winsup/fhandler_tape.cc:38: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::is_eof(int)':
/cw/src/winsup/fhandler_tape.cc:48: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::open(char const *, int,
int)':
/cw/src/winsup/fhandler_tape.cc:63: undefined reference to
`get_device_number(char const *, int &, int)'
fhandler_tape.o: In function `fhandler_dev_tape::close(void)':
/cw/src/winsup/fhandler_tape.cc:126: undefined reference to
`strace_active'
/cw/src/winsup/fhandler_tape.cc:138: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::lseek(long, int)':
/cw/src/winsup/fhandler_tape.cc:176: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::ioctl(unsigned int,
void *)':
/cw/src/winsup/fhandler_tape.cc:426: undefined reference to
`seterrno(char const *, int)'
fhandler_tape.o: In function `tape_error(unsigned long, char const *)':
/cw/src/winsup/fhandler_tape.cc:441: undefined reference to
`strace_active'
fhandler_tape.o: In function `fhandler_dev_tape::tape_write_marks(int,
unsigned long)':
/cw/src/winsup/fhandler_tape.cc:449: undefined reference to
`strace_active'
localtime.o: In function `tzsetwall':
/cw/src/winsup/localtime.c:1486: undefined reference to `cygwin_tzset'
select.o: In function `select_stuff::wait(_types_fd_set *, _types_fd_set
*, _types_fd_set *, unsigned int)':
/cw/src/winsup/select.cc:255: undefined reference to
`MsgWaitForMultipleObjects AT 20'
select.o: In function `peek_windows(select_record *)':
/cw/src/winsup/select.cc:1133: undefined reference to `PeekMessageA AT 20'
spawn.o: In function `spawn_guts(void *, char const *, char const *const
*, char const *const *, pinfo *, int)':
/cw/src/winsup/spawn.cc:482: undefined reference to
`GetProcessWindowStation AT 0'
/cw/src/winsup/spawn.cc:483: undefined reference to
`SetUserObjectSecurity AT 12'
/cw/src/winsup/spawn.cc:484: undefined reference to
`GetUserObjectInformationA AT 20'
/cw/src/winsup/spawn.cc:485: undefined reference to `GetThreadDesktop AT 4'
/cw/src/winsup/spawn.cc:486: undefined reference to
`SetUserObjectSecurity AT 12'
/cw/src/winsup/spawn.cc:487: undefined reference to
`GetUserObjectInformationA AT 20'
syscalls.o: In function `link':
/cw/src/winsup/syscalls.cc:494: undefined reference to `OemToCharW AT 8'
tty.o: In function `tty_list::allocate_tty(int)':
/cw/src/winsup/tty.cc:202: undefined reference to `FindWindowA AT 8'
window.o: In function `WndProc(void *, unsigned int, unsigned int,
long)':
/cw/src/winsup/window.cc:34: undefined reference to `PostQuitMessage AT 4'
/cw/src/winsup/window.cc:41: undefined reference to `KillTimer AT 8'
/cw/src/winsup/window.cc:48: undefined reference to `SetTimer AT 16'
/cw/src/winsup/window.cc:59: undefined reference to `DefWindowProcA AT 16'
window.o: In function `Winmain(void *)':
/cw/src/winsup/window.cc:85: undefined reference to `RegisterClassA AT 4'
/cw/src/winsup/window.cc:95: undefined reference to `CreateWindowExA AT 48'
/cw/src/winsup/window.cc:109: undefined reference to
`DispatchMessageA AT 4'
/cw/src/winsup/window.cc:109: undefined reference to `GetMessageA AT 16'
window.o: In function `window_terminate(void)':
/cw/src/winsup/window.cc:143: undefined reference to `SendMessageA AT 16'
window.o: In function `setitimer':
/cw/src/winsup/window.cc:159: undefined reference to `KillTimer AT 8'
/cw/src/winsup/window.cc:173: undefined reference to `SetTimer AT 16'
make[1]: *** [new-cygwin1.dll] Error 1
make: *** [all-target-winsup] Error 2
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -