Mail Archives: cygwin/2003/03/10/17:46:05
I've been building Cygwin from the sources successfully for a week or so
now. This morning I updated from CVS, and built. But using the resulting
new-cygwin1.dll (copied to /bin and renamed to cygwin1.dll,of course) no
longer lets me build. I get this error:
ar: cygdll.a: File format not recognized
If I restore the original cygwin1.dll, I do not get this error, and I can
successfully build. I tried this with the sources directly form CVS,
without any of my changes, and got the same behavior.
Thanks,
Bob Cassels
Below is more of the 'make' log, so you can get a little more context. (I
'touch'ed a file to force make to do something. This is still the sources
without my changes.)
-----------------------------------------------------------------------------------------------------
make[2]: Entering directory
`/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/cygwin'
c++ -L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup
-L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/cygwin
-L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/w32api/lib -isystem
/cygdrive/d/cygwin-trunk/src/winsup/include -isystem
/cygdrive/d/cygwin-trunk/src/winsup/cygwin/include -isystem
/cygdrive/d/cygwin-trunk/src/winsup/w32api/include -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/sys/cygwin -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/sys/cygwin32
-B/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/ -isystem
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/targ-include -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/include -c -nostdinc++ -nostdinc
-DHAVE_CONFIG_H -g -O2 -Wall -Wwrite-strings -fno-common -pipe -Winline
-fbuiltin -fmessage-length=0 -I.
-I/cygdrive/d/cygwin-trunk/src/winsup/cygwin
-I/cygdrive/d/cygwin-trunk/src/newlib/libc/sys/cygwin/include
-I../../../../src/winsup/cygwin/config/i386
-I/bin/../lib/gcc-lib/i686-pc-cygwin/3.2/include -fno-rtti -fno-exceptions
-o ./environ.o ../../../../src/winsup/cygwin/environ.cc
Making version.o and winver.o
Version 1.3.22
c++ -L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup
-L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/cygwin
-L/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/w32api/lib -isystem
/cygdrive/d/cygwin-trunk/src/winsup/include -isystem
/cygdrive/d/cygwin-trunk/src/winsup/cygwin/include -isystem
/cygdrive/d/cygwin-trunk/src/winsup/w32api/include -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/sys/cygwin -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/sys/cygwin32
-B/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/ -isystem
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/targ-include -isystem
/cygdrive/d/cygwin-trunk/src/newlib/libc/include -g -O2 -nostdlib
-Wl,-T../../../../src/winsup/cygwin/cygwin.sc -Wl,--out-implib,cygdll.a
-shared -o cygwin0.dll \
-e _dll_entry AT 12 cygwin.def assert.o autoload.o cxx.o cygheap.o
cygserver_client.o cygserver_transport.o cygserver_transport_pipes.o
cygserver_transport_sockets.o cygthread.o dcrt0.o debug.o delqueue.o dir.o
dlfcn.o dll_init.o dtable.o environ.o errno.o exceptions.o exec.o
external.o fcntl.o fhandler.o fhandler_clipboard.o fhandler_console.o
fhandler_disk_file.o fhandler_dsp.o fhandler_floppy.o fhandler_mem.o
fhandler_proc.o fhandler_process.o fhandler_random.o fhandler_raw.o
fhandler_registry.o fhandler_serial.o fhandler_socket.o fhandler_tape.o
fhandler_termios.o fhandler_tty.o fhandler_virtual.o fhandler_windows.o
fhandler_zero.o fnmatch.o fork.o glob.o grp.o heap.o init.o ioctl.o ipc.o
localtime.o malloc.o malloc_wrapper.o miscfuncs.o mmap.o msg.o net.o
netdb.o ntea.o passwd.o path.o pinfo.o pipe.o poll.o pthread.o regcomp.o
regerror.o regexec.o regfree.o registry.o resource.o scandir.o sched.o
sec_acl.o sec_helper.o security.o select.o sem.o shared.o shm.o signal.o
sigproc.o smallprint.o spawn.o strace.o strsep.o sync.o syscalls.o
sysconf.o syslog.o termios.o thread.o times.o tty.o uinfo.o uname.o
v8_regexp.o v8_regerror.o v8_regsub.o wait.o wincap.o window.o longjmp.o
setjmp.o /cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/libiberty/random.o
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/libiberty/strsignal.o
version.o winver.o \
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/libm/libm.a
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/newlib/libc/libc.a \
-lgcc
/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/w32api/lib/libkernel32.a
Creating library file: cygdll.a
/bin/sh ../../../../src/winsup/cygwin/rmsym ./cygdll.a "nm" "ar" "ranlib"
regcomp regerror regexec regfree regsub open acl aclcheck aclfrommode
aclfrompbits aclfromtext aclsort acltomode acltopbits acltotext chown facl
fchown fgetpos fopen freopen fseeko fsetpos fstat ftello ftruncate getegid
geteuid getgid getgrent getgrgid getgrnam getgroups getpwuid getpwuid_r
getuid initgroups lchown lseek lstat mknod mmap seekdir setegid seteuid
setgid setgroups setregid setreuid setuid stat telldir truncate || exit 0
/bin/sh ../../../../src/winsup/cygwin/newsym ./cygdll.a "as" "ar" "ranlib"
regcomp posix_regcomp regerror posix_regerror regexec posix_regexec
regfree posix_regfree open _open64 acl acl32 aclcheck aclcheck32
aclfrommode aclfrommode32 aclfrompbits aclfrompbits32 aclfromtext
aclfromtext32 aclsort aclsort32 acltomode acltomode32 acltopbits
acltopbits32 acltotext acltotext32 chown chown32 facl facl32 fchown
fchown32 fgetpos fgetpos64 fopen fopen64 freopen freopen64 fseeko fseeko64
fsetpos fsetpos64 fstat fstat64 ftello ftello64 ftruncate ftruncate64
getegid getegid32 geteuid geteuid32 getgid getgid32 getgrent getgrent32
getgrgid getgrgid32 getgrnam getgrnam32 getgroups getgroups32 getpwuid
getpwuid32 getpwuid_r getpwuid_r32 getuid getuid32 initgroups initgroups32
lchown lchown32 lseek lseek64 lstat lstat64 mknod mknod32 mmap mmap64
seekdir seekdir64 setegid setegid32 seteuid seteuid32 setgid setgid32
setgroups setgroups32 setregid setregid32 setreuid setreuid32 setuid
setuid32 stat stat64 telldir telldir64 truncate truncate64 || exit 0
ranlib: ./cygdll.a: File format not recognized
(echo create libcygwin.a; echo addmod _cygwin_crt0_common.o
cygwin_attach_dll.o cygwin_crt0.o dll_entry.o dll_main.o getopt.o
libcmain.o premain0.o premain1.o premain2.o premain3.o pseudo-reloc.o;
echo addlib cygdll.a; echo save) | ar -M
ar: cygdll.a: File format not recognized
make[2]: *** [libcygwin.a] Error 1
make[2]: Leaving directory
`/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup/cygwin'
make[1]: *** [cygwin] Error 1
make[1]: Leaving directory
`/cygdrive/d/cygwin-trunk/obj/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2
--
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/
- Raw text -