ld error while making a dll for module

2005-01-23 Thread Pradip Jadav
hi all , here i m having a prob regarding creating a shared dll. what exactly is that i m having a code which is abt a proxy server. It is linux based source code and i m porting it to windows with the help of CYGWIN .. Its exe is working fine ..Now i m going to create add-on module for that

Make a Shared Library using Makefile

2005-01-27 Thread Pradip Jadav
Ok Guys , I had posted one mail few days ago ,but didn't got the reply.. ok no problem .. The problem may with the way, I was compiling. But here i m presenting a problem which is regarding To create a shared Library. As we know shared library created in Linux are in .SO extension. Here i m

Re: Make a Shared Library using Makefile

2005-01-27 Thread Pradip Jadav
Ok first ,thanx for ur reply.. You haven't said whether what you have tried is working or not. You haven't explained exactly how it is failing and what errors you are getting if it is not working. If you want help you need to be more specific. Here i m going to explain u what actually i

Re: Make a Shared Library using Makefile

2005-03-01 Thread Pradip Jadav
hello, I am back here... In the journey of making SHARED dll's, i have been lost somewhere in my path... but during these days i found a post searched in google like this... You are using some classes which are kept in some library. It is not enough to add h-file with these classes, We

Re: Make a Shared Library using Makefile

2005-03-03 Thread Pradip Jadav
] wrote: On Thu, 27 Jan 2005, Igor Pechtchanski wrote: On Thu, 27 Jan 2005, Brian Dessent wrote: Pradip Jadav wrote: example.dll : example.c ${CXX} $ ${CXXFLAGS} -shared -fPIC -L. -lexample -Wl,-soname,$@ -o $@ You shouldn't use -fPIC or -Wl,soname as far as I know

Reuse of old downloded cygwin packages

2005-03-17 Thread Pradip Jadav
hello everybody.. I have a query regarding reuse of earlier downloaded packages...The actual situation is like this.. Earlier I was having 6 GB hard Drive ,so i thought to replace my Hard drive with 40 GB. I took backup of downloded and installed packages of cygwin.. I was downloading in D:\cygwin

Re: Reuse of old downloded cygwin packages

2005-03-20 Thread Pradip Jadav
, Paulo Sequeira [EMAIL PROTECTED] wrote: Pradip Jadav wrote: hello everybody.. I have a query regarding reuse of earlier downloaded packages...The actual situation is like this.. Earlier I was having 6 GB hard Drive ,so i thought to replace my Hard drive with 40 GB. I took backup

Re: Reuse of old downloded cygwin packages

2005-03-21 Thread Pradip Jadav
:37 +0530, Pradip Jadav [EMAIL PROTECTED] wrote: ya I have done like that only...but unfortunatly it does not work.. While doing setup, at the time of selecting packages only devel portion shows two selections named gcc core and gcc - testsuite, all other packages are showing nothing to install

Rebase All command.....

2005-04-21 Thread Pradip Jadav
Hi guys.. When I gave command rebase all, my monitor's screen got damaged. I mean 25% of screen is got Black and resizing screen is only upto 80% of total screen.. It appers as full screen sometimes and 80% screen sometimes. Now I have changed my monitor , and this new monitor is working fine.

Re: Rebase All command.....

2005-04-21 Thread Pradip Jadav
ohh that means no chance for recovery... Is there any? shhhi. my fault . I think i did not read document of rebaseall command properly... Anyway thanx for reply... On 4/21/05, Dave Korn [EMAIL PROTECTED] wrote: Original Message From: Pradip Jadav Sent: 21 April 2005 17:47

cygrunsrv.exe -- start the service automatically on failure??

2005-08-31 Thread Pradip Jadav
Hello all, As with cygrunsrv.exe we can install-start-stop a service, is it possible to restart the service automatically on failure?? We can see from properties of a service, a Recovery tab is available where there are options like First failure, second failures, subsequent failures to take an

Re: Installation problem

2005-09-23 Thread Pradip Jadav
Hi to all, -- Pinaki Mukherjee wrote: I'm trying to install cygwin and it's not happening properly. From cygwin website, I downloaded the setup.exe file and then ran it. I chose the first option Install from Internet. The files

Re: Installation problem

2005-09-24 Thread Pradip Jadav
On 9/23/05, Larry Hall [EMAIL PROTECTED] wrote: At 05:58 AM 9/23/2005, you wrote: Hi to all, -- snip --- I

cygwin 1.5.12-1: collect2: ld Error while compiling

2004-12-11 Thread pradip jadav
hi, I have cygwin installed in machine.The configuration is in attachment. Previously i was using the cygwin1.dll vs 1.5.11-1 , at that time i made my project compiled successfully in cygwin. But before two days i upgrade my cygwin version and made it to 1.5.12-1. After installing(i mean

Creating dll in cygwin gives Undefined reference errors

2007-07-28 Thread Pradip Jadav
Hi to all, I am trying to create dll in cygwin. I read, http://www.cygwin.com/cygwin-ug-net/dll.html . But didn't got much help from that document. I am porting Linux code to windows using cygwin. I am done with main program. But want to create add-on module for that program as I have done in

Re: Creating dll in cygwin gives Undefined reference errors

2007-08-11 Thread Pradip Jadav
On 7/28/07, Brian Dessent [EMAIL PROTECTED] wrote: Pradip Jadav wrote: But when I compiles in cygwin it gives me some Undefined reference errors. Take an example, /cygdrive/e/DOCUME~1/LOCALS~1/Temp/ccLMFYUe.o:sample.c:(.text+0x4c): undefined reference to `createlog(int, char

Re: Creating dll in cygwin gives Undefined reference errors

2007-08-18 Thread Pradip Jadav
On 8/11/07, Brian Dessent [EMAIL PROTECTED] wrote: g++ -o main.exe main.o -ldl -Wl,-out-implib,libmain.dll.a I tried this, but it gives same Unresolved reference errors. I will do RD on this and excluding __declspec part later. But currently I am going with __declspec part . Using it, gives