public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* building cygwin1.dll
@ 2000-01-11 13:16 Alexey Voinov
  2000-01-11 14:51 ` Mumit Khan
  0 siblings, 1 reply; 26+ messages in thread
From: Alexey Voinov @ 2000-01-11 13:16 UTC (permalink / raw)
  To: cygwin

Hello,

   Tried to build cygwin1.dll myself.
Got:
fhandler.h: In method `select_record::select_record(fhandler_base * = 0)':
fhandler.h:759: implicit declaration of function `int __builtin_memset(...)'

if I comment out #define memset __builtin_memset in winsup.h
all compiles but I got link time error in ntea.o.

I use:
$ uname -a
CYGWIN_98-4.10 VOINS 1.1.0(0.16/3/2) 2000-01-06 12:55:43 i586 unknown
$ gcc --version
2.95.2

Also tried gcc 2.95... same result.

Best regards,
Alexey Voinov
voins@caravan.ru



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Building cygwin1.dll
@ 2000-10-31 10:47 Fabio Fabbri
  2000-10-31 20:27 ` Christopher Faylor
  0 siblings, 1 reply; 26+ messages in thread
From: Fabio Fabbri @ 2000-10-31 10:47 UTC (permalink / raw)
  To: cygwin

I downloaded and installed all the recent binary tools.
Standard installation, binary mounts, WIN98.
I downloaded the cygwin-1.1.5-2-src.tar.gz and unpacked it in /usr/local
Then I did a
$ configure
$ make

but I got some make errors about

make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/usr/local/cygwin-1.1.5-2/i586-pc-cygwin/winsup/w32api/lib'
make[2]: Leaving directory
`/usr/local/cygwin-1.1.5-2/i586-pc-cygwin/winsup/w32api'
make[2]: Entering directory
`/usr/local/cygwin-1.1.5-2/i586-pc-cygwin/winsup/cygwin'
make[2]: Leaving directory
`/usr/local/cygwin-1.1.5-2/i586-pc-cygwin/winsup/cygwin'
make[1]: Leaving directory `/usr/local/cygwin-1.1.5-2/i586-pc-cygwin/winsup'

What do I need to rebuild cygwin1.dll ?
Where can I find the building instructions ?

Thanks


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Building cygwin1.dll
@ 2002-05-26 13:58 CM
  2002-05-28 13:52 ` rich-paul
  0 siblings, 1 reply; 26+ messages in thread
From: CM @ 2002-05-26 13:58 UTC (permalink / raw)
  To: cygwin

I seem to be unable to build the cygwin1.dll from the cygwin sources.
The configuration and compilation go fine, but when make tries to link
the dll, I get errors about undefined symbols:

autoload.o(.wsock32_info+0x0):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0xc):autoload.cc: undefined reference to
`wsock_init'
autoload.o(.wsock32_info+0x18):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0x30):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0x48):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0x60):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0x78):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.wsock32_info+0x90):autoload.cc: more undefined references to
`std_dll_init' follow
autoload.o(.ws2_32_info+0xc):autoload.cc: undefined reference to
`wsock_init'
autoload.o(.ws2_32_info+0x17):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.ws2_32_info+0x2e):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.ws2_32_info+0x45):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.ws2_32_info+0x5c):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.ws2_32_info+0x73):autoload.cc: undefined reference to
`std_dll_init'
autoload.o(.ws2_32_info+0x8a):autoload.cc: more undefined references to
`std_dll_init' follow
net.o(.text+0x26c6):net.cc: undefined reference to `_wsock32_handle'

I have used nm and grep to look through all the cygwin objects and
libraries and can't seem to find where the symbols are defined. Could
somebody please tell where I am going wrong? To build cygwin, all I did
was, extract the tarball, cd into the directory, make a new directory
inside it called build, cd into that, execute a ../configure, and hit
make. Was there something else I was supposed to do?

Thanks,
CM 




--
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/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Building cygwin1.dll
@ 2002-05-28 15:35 Keen Wayne A Contr AFRL/MNGG
  2002-05-29  4:19 ` linguist-cygwin
  0 siblings, 1 reply; 26+ messages in thread
From: Keen Wayne A Contr AFRL/MNGG @ 2002-05-28 15:35 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

The utterly sad and pathetic thing is that it took me a period of time, not
best measured in seconds,
to recognize the roflmao character of Chris' statement.

Theres a technical term for that sort of delay, its called DUHHHHHH!

Hey, how do I unsubscribe to this list again?

Waynebozo Keen

--
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/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Building cygwin1.dll
@ 2012-01-04 13:49 Johan van den Berg
  2012-01-04 14:25 ` marco atzeri
  0 siblings, 1 reply; 26+ messages in thread
From: Johan van den Berg @ 2012-01-04 13:49 UTC (permalink / raw)
  To: cygwin

Any pointers on how to compile cygwin1.dll? I installed cygwin latest onto a windows machine, installed all the prerequisites as per faq (gcc perl et al), downloaded a snapshot, configured and maked but keep running into compile errors.

There is no mention in the docs regarding version of gcc required, possibility of using gcc as supplied by cygwin or mingw, etc.
I am trying to build a custom cygwin1.dll to test http://cygwin.com/ml/cygwin/2011-12/msg00337.html
I have set the send and receive buffers to 256k so that I can get transfer speeds up on a high latency rsync copy from one cygwin windows to another cygwin windows box with over 300ms latency between the two, but a 100mbit bandwidth
I tested with a previous version (very old) of cygwin that had the buffers at 8k and that caused the transfer speeds to go down to next to nothing, so the theory seems sound that increasing the buffers should increase the amount of packets that can be sent without receiving an ack.
I have already patched the code, now I just need to figure out how to actually build cygwin, and 3 hours worth of google + reading of cygwin mailing lists have been fruitless.

The error I get when trying to compile using the default cygwin install of gcc and tools:

... lots of successful compiles, and then:
make[5]: Entering directory `/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/newlib/libc/locale'
gcc -L/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/winsup -L/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/winsup/cygwin -L/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/winsup/w32api/lib -isystem /home/DBA/cygwin-build/cygwin-snapshot-20111222-1/winsup/include -isystem /home/DBA/cygwin-build/cygwin-snapshot-20111222-1/winsup/cygwin/include -isystem /home/DBA/cygwin-build/cygwin-snapshot-20111222-1/winsup/w32api/include -B/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/newlib/ -isystem /home/DBA/cygwin-build/cygwin-snapshot-20111222-1/build/i686-pc-cygwin/newlib/targ-include -isystem /home/DBA/cygwin-build/cygwin-snapshot-20111222-1/newlib/libc/include    -I/home/DBA/cygwin-build/cygwin-snapshot-20111222-1/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib/libc/locale -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin      -g -O2 -c -o lib_a-nl_langinfo.o `test -f 'nl_langinfo.c' || echo '../../../../../newlib/libc/locale/'`nl_langinfo.c
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: parse error before "struct"
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: `outdigits' undeclared here (not in a function)
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0].offset')
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: parse error before ')' token
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: initializer element is not constant
../../../../../newlib/libc/locale/nl_langinfo.c:66: error: (near initialization for `nl_ext[0]')
.... and many more similar complaints.

Johan van den Berg
Play Safe IT Services South Africa (Pty) Ltd
Email: johan.vdberg@playsafesa.com
Skype: johantheitguy




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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2012-01-04 19:26 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-11 13:16 building cygwin1.dll Alexey Voinov
2000-01-11 14:51 ` Mumit Khan
2000-10-31 10:47 Building cygwin1.dll Fabio Fabbri
2000-10-31 20:27 ` Christopher Faylor
2002-05-26 13:58 CM
2002-05-28 13:52 ` rich-paul
2002-05-28 13:58   ` Larry Hall (RFK Partners, Inc)
2002-05-28 14:09     ` Christopher Faylor
2002-05-28 14:11       ` Larry Hall (RFK Partners, Inc)
2002-05-28 14:17         ` Christopher Faylor
2002-05-28 14:40           ` Larry Hall (RFK Partners, Inc)
2002-05-29  4:03       ` rich-paul
2002-05-29  4:16     ` rich-paul
2002-05-29  4:36       ` Christopher Faylor
2002-05-29  9:27         ` rich-paul
2002-05-29 10:31           ` Christopher Faylor
2002-06-01 22:04             ` rich-paul
2002-06-01 22:36               ` ..
2002-06-01 23:28               ` Christopher Faylor
2002-06-02  4:44                 ` rich-paul
2002-05-29  5:01       ` Larry Hall (RFK Partners, Inc)
2002-05-28 15:35 Keen Wayne A Contr AFRL/MNGG
2002-05-29  4:19 ` linguist-cygwin
2012-01-04 13:49 Johan van den Berg
2012-01-04 14:25 ` marco atzeri
2012-01-04 19:26   ` Johan van den Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).