This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unable to compile Cygwin


Hi everybody!
I've been using Cygwin for a while and am really happy with it.
But recently my paranoid boss has asked me to prove him that there was no
security problem with using Cygwin on our secure network.
The first step towards this goal is to recompile Cygwin so that we can be
sure the code we execute corresponds to the sources.
I know, I know, it's silly, but hey, I'm not the boss, so...

I've downloaded the sources via CVS on my Win2k machine and tried to compile
it with Cygwin, following the steps described in the FAQ "How do I rebuild
the tools on my NT box?"

Configure works well.
Make works like a, charm until I get this (extract for Make.log):

=====================================
Making version.o and winver.o
Version 1.5.6
c++ -L/cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup -L/cygdrive/c/Cyg/obj/i686-p
c-cygwin/winsup/cygwin -L/cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup/w32api/li
b -isystem /cygdrive/c/Cyg/src/winsup/include -isystem
/cygdrive/c/Cyg/src/winsup/cygwin/include -isystem
/cygdrive/c/Cyg/src/winsup/w32api/include -B/cygdrive/c/Cyg/obj/i686-pc-cygw
in/newlib/ -isystem
/cygdrive/c/Cyg/obj/i686-pc-cygwin/newlib/targ-include -isystem
/cygdrive/c/Cyg/src/newlib/libc/include -g -O2 -nostdlib -Wl,-T../../../../s
rc/winsup/cygwin/cygwin.sc -Wl,--out-implib,cygdll.a -shared -o cygwin0.dll
\
-e _dll_entry@12 cygwin.def assert.o autoload.o bsdlib.o cxx.o cygheap.o
cygthread.o dcrt0.o debug.o delqueue.o devices.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_fifo.o fhandler_floppy.o fhandler_mem.o fhandler_nodevice.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 flock.o fnmatch.o fork.o getopt.o glob.o grp.o heap.o init.o
ioctl.o ipc.o iruserok.o localtime.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
sigfe.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
setjmp.o /cygdrive/c/Cyg/obj/i686-pc-cygwin/libiberty/random.o
/cygdrive/c/Cyg/obj/i686-pc-cygwin/libiberty/strsignal.o malloc.o  version.o
winver.o \
 /cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup/cygserver/libcygserver.a
/cygdrive/c/Cyg/obj/i686-pc-cygwin/newlib/libm/libm.a
/cygdrive/c/Cyg/obj/i686-pc-cygwin/newlib/libc/libc.a \
-lgcc /cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup/w32api/lib/libkernel32.a
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
cygwin.def:4: parse error
make[2]: *** [cygwin0.dll] Error 1
make[2]: Leaving directory
`/cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup/cygwin'
make[1]: *** [cygwin] Error 1
make[1]: Leaving directory `/cygdrive/c/Cyg/obj/i686-pc-cygwin/winsup'
make: *** [all-target-winsup] Error 2

=====================================


Anybody can help me go further?

Thanks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]