[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] compiling tar cvs using mingw
From: |
Gerry Reno |
Subject: |
Re: [Bug-tar] compiling tar cvs using mingw |
Date: |
Wed, 10 Sep 2003 12:10:07 -0700 (PDT) |
Paul,
For the SIGPIPE error: SIGPIPE is defined in the cygwin env (unix
emulation) but not the mingw env (native windows runtime). Does this
either means no rmt access with mingw or some ifdef code necessary?
This is really the only error that I cannot get by without major
hack. For now I just put dummy value but it is useless for mingw.
So here is the first result at creating tar executable under mingw:
gcc -mno-cygwin -g -O2 -DMSDOS=1 -o tar.exe buffer.o compare.o
create.o delete.o extract.o xheader.o incremen.o list.o mangle.o misc.o
names.o rtapelib.o tar.o update.o ../lib/libtar.a
buffer.o(.text+0xf74): In function `flush_write':
D:/cygwin/home/greno/dev/gnu/tar/src/buffer.c:974: undefined reference
to `write_archive_buffer'
buffer.o(.text+0x1194):D:/cygwin/home/greno/dev/gnu/tar/src/buffer.c:879:
undefined reference to `write_archive_buffer'
buffer.o(.text+0x1a33): In function `flush_read':
D:/cygwin/home/greno/dev/gnu/tar/src/buffer.c:1109: undefined reference
to `write_archive_buffer'
extract.o(.text+0x6): In function `extr_init':
D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:112: undefined reference
to `geteuid'
extract.o(.text+0x2db): In function `set_stat':
D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:278: undefined reference
to `chown'
extract.o(.text+0x15c4): In function `extract_archive':
D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:1025: undefined
reference to `link'
extract.o(.text+0x1756):D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:1080:
undefined reference to `mknod'
extract.o(.text+0x17e6):D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:1104:
undefined reference to `mknod'
extract.o(.text+0x1a31): In function `apply_delayed_symlinks':
D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:1253: undefined
reference to `link'
extract.o(.text+0x1a4b):D:/cygwin/home/greno/dev/gnu/tar/src/extract.c:1255:
undefined reference to `symlink'
misc.o(.text+0x15d6): In function `xfork':
D:/cygwin/home/greno/dev/gnu/tar/src/misc.c:845: undefined reference to
`fork'
misc.o(.text+0x161b): In function `xpipe':
D:/cygwin/home/greno/dev/gnu/tar/src/misc.c:855: undefined reference to
`pipe'
names.o(.text+0x3d): In function `uid_to_uname':
D:/cygwin/home/greno/dev/gnu/tar/src/names.c:75: undefined reference to
`getpwuid'
names.o(.text+0xbe): In function `gid_to_gname':
D:/cygwin/home/greno/dev/gnu/tar/src/names.c:105: undefined reference
to `getgrgid'
names.o(.text+0x136): In function `uname_to_uid':
D:/cygwin/home/greno/dev/gnu/tar/src/names.c:135: undefined reference
to `getpwnam'
names.o(.text+0x1e6): In function `gname_to_gid':
D:/cygwin/home/greno/dev/gnu/tar/src/names.c:165: undefined reference
to `getgrnam'
rtapelib.o(.text+0x4ca): In function `rmt_open__':
D:/cygwin/home/greno/dev/gnu/tar/src/rtapelib.c:458: undefined
reference to `pipe'
rtapelib.o(.text+0x4e3):D:/cygwin/home/greno/dev/gnu/tar/src/rtapelib.c:458:
undefined reference to `pipe'
rtapelib.o(.text+0x4f2):D:/cygwin/home/greno/dev/gnu/tar/src/rtapelib.c:467:
undefined reference to `fork'
d:\mingw\bin\mingw32-make.exe[2]: *** [tar.exe] Error 1
Functions are shown as undefined even though they are declared in the
same module? Is this related to defining MSDOS? Investigating...
rgds,
Gerry
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
- [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Paul Eggert, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Paul Eggert, 2003/09/09
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Paul Eggert, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Sergey Poznyakoff, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw,
Gerry Reno <=
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Sergey Poznyakoff, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/10
- Re: [Bug-tar] compiling tar cvs using mingw, Sergey Poznyakoff, 2003/09/11
- Re: [Bug-tar] compiling tar cvs using mingw, Paul Eggert, 2003/09/11
- Re: [Bug-tar] compiling tar cvs using mingw, Sergey Poznyakoff, 2003/09/11
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/11
- Re: [Bug-tar] compiling tar cvs using mingw, Gerry Reno, 2003/09/20
- Re: [Bug-tar] compiling tar cvs using mingw, Paul Eggert, 2003/09/22
Re: [Bug-tar] compiling tar cvs using mingw, Sergey Poznyakoff, 2003/09/10