From: xtomasej AT fel DOT cvut DOT cz (Jan Tomasek) Subject: Building SSL dll - please help 27 Sep 1998 06:38:53 -0700 Message-ID: <360E06B4.A51DB5D0.cygnus.gnu-win32@fel.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "gnu-win32 AT cygnus DOT com" Hi, I trying to build SSL dlls with Cygnus tools. I sucesfully build ssleay.exe, libcrypto.a and libssl.a. ssleay.exe is working corectly (if I build in non binary mode). I read FAQs about building, but I think that I'm doing some stupid newbie error. Before that all my C building was made from Borlands IDE. I'm realy newbie in building with make :-) Here is part of my make: libeaydll: ld -s --base-file libeay.dll.base --dll -o libeay.dll libcrypto.a libssl.a libRSAglue.a -e startup AT 12 echo EXPORTS > libeay.dll.def nm libcrypto.a | grep '^........ [T] _' | sed 's/[^_]*_/ /' >>libeay.dll.def dlltool --as=as -dllname libeay.dll --def libeay.dll.def --base-file libeay.dll.base --output-exp libeay.dll.exp ld -s --base-file libeay.dll.base libeay.dll.exp --dll -o libeay.dll libcrypto.a libssl.a libRSAglue.a I'm receiving this errors: libcrypto.a(stack.o)(.text+0x67):stack.c: undefined reference to `qsort' libcrypto.a(stack.o)(.text+0x88):stack.c: undefined reference to `bsearch' libcrypto.a(stack.o)(.text+0xdf):stack.c: undefined reference to `malloc' libcrypto.a(stack.o)(.text+0xef):stack.c: undefined reference to `malloc' libcrypto.a(stack.o)(.text+0x130):stack.c: undefined reference to `free' libcrypto.a(stack.o)(.text+0x150):stack.c: undefined reference to `free' libcrypto.a(stack.o)(.text+0x159):stack.c: undefined reference to `free' That seams that some system library is mising. But which? Help me please. -- Jan Tomasek, student FEL-CVUT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e-mail: xtomasej AT fel DOT cvut DOT cz www: http://www.feld.cvut.cz/~xtomasej ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~H~ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".