X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 1 Aug 2007 03:41:26 -0800 From: "syam prasad" To: cygwin AT cygwin DOT com Subject: Problem in building DLL :cannot find -luser32 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I installed gcc 3.4.4 and bale to compile the sources properly using makefiles. Problem I am facing is with DLL. When I tried to build DLL it is giving eerror as /cygdrive/c/cygwin/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status make: *** [prog] Error 1 I searched all the mailing lists and found the answer to re install W32app package. But I cross checked with my installed files and folders and found that "libuser32.a" exists. If I copy libs in w32api to C:\cygwin\lib, DLL build is completed sucessfully. But facing problem with simulator. DLL is not loading into simulator, Simulator got hanged. My simulator lies in different PC ( XP/ Intel processor ). But I am able to build exe and test it properly. My system configuration: OS : Microsoft Windows XP [Version 5.1.2600] Processor : AMD Athlon GCC : gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) GCC configuration : Reading specs from /cygdrive/c/cygwin/bin/../lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr -- sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-langu ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --w ithout-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-thre ads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enabl e-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Please help me in resolving this issue. Thanks in advance. nsp -- 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/