Building Error with gcc... [message #59805] |
Mon, 27 January 2003 04:51 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: inom1976.hotmail.com
I used Eclipse a bit and found it's very nice IDE.
However I faced a problem while building my simple "Hello, World!" program.
My error message was like the following:
**/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cy gwin/bin/ld:
cannot find -luser32
collect2: ld returned 1 exit status**
I guess the main reason might be gcc which has wrong pathname between
cygwin and actual Windows.Thus gcc cannot find any required library and
files.
Does anyone know this problem? If yes, I really appreciate your help in
advance.
thanks!!!
|
|
|
Re: Building Error with gcc... [message #59831 is a reply to message #59805] |
Mon, 27 January 2003 09:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: f.frumento.sciro.com
I'm using cygwin with eclipse and other tools from mentor graphics...
they wotk fine
I think your problen id because You're using an absolute path... You
should specify only relative paths...
try to post your makefile
MS.Choi ha scritto:
> I used Eclipse a bit and found it's very nice IDE.
> However I faced a problem while building my simple "Hello, World!" program.
> My error message was like the following:
> **/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cy gwin/bin/ld:
> cannot find -luser32
> collect2: ld returned 1 exit status**
>
> I guess the main reason might be gcc which has wrong pathname between
> cygwin and actual Windows.Thus gcc cannot find any required library and
> files.
> Does anyone know this problem? If yes, I really appreciate your help in
> advance.
>
> thanks!!!
>
>
>
>
|
|
|
Re: Building Error with gcc... [message #59855 is a reply to message #59805] |
Mon, 27 January 2003 18:37 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tknaps.broadpark.no
MS.Choi wrote:
> I used Eclipse a bit and found it's very nice IDE.
> However I faced a problem while building my simple "Hello, World!" program.
> My error message was like the following:
> **/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cy gwin/bin/ld:
> cannot find -luser32
> collect2: ld returned 1 exit status**
>
> I guess the main reason might be gcc which has wrong pathname between
> cygwin and actual Windows.Thus gcc cannot find any required library and
> files.
> Does anyone know this problem? If yes, I really appreciate your help in
> advance.
>
-luser32 means that you want to link to user32.dll. Is this DLL
available on your system?
If so, tell gcc where by using the -L flag (i.e.
-L/my/user32/dll/file/is/here)
T
|
|
|
Powered by
FUDForum. Page generated in 0.03725 seconds