public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Shellexecute doubly defined during compile of V
@ 2000-03-08  8:35 Vincent P. LaBella
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent P. LaBella @ 2000-03-08  8:35 UTC (permalink / raw)
  To: Cygwin List

Hello,
	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
gcc 2.95.2 nt 4.0

I get the follwing errors about certain items being defined twice.  Any
ideas what is causing this?

Thanks

Vince


g++ -c -I../includew  -O2 -o ../obj/vapp.o vapp.cpp
In file included from vapp.cpp:51:
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/shellapi.h:108: warning: `ShellExecute'
redefined

/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/Windows32/Functions.h:850: warning: this is
the l
ocation of the previous definition
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/shellapi.h:109: warning: `FindExecutable'
redefin
ed
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/Windows32/Functions.h:848: warning: this is
the l
ocation of the previous definition
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/shellapi.h:110: warning: `ShellAbout'
redefined
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/Windows32/Functions.h:849: warning: this is
the l
ocation of the previous definition
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/shellapi.h:111: warning:
`ExtractAssociatedIcon'
redefined
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
../../../i586-cygwin32/include/Windows32/Functions.h:846: warning: this is
the l
ocation of the previous definition
vapp.cpp:53: commctrl.h: No such file or directory
make: *** [../obj/vapp.o] Error 1

+= Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
| Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
+===============> http://comp.uark.edu/~vlabella <=================+


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

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

* Re: Shellexecute doubly defined during compile of V
  2000-03-09 12:28 ` Vincent P. LaBella
@ 2000-03-09 23:10   ` Axel Riese
  0 siblings, 0 replies; 8+ messages in thread
From: Axel Riese @ 2000-03-09 23:10 UTC (permalink / raw)
  To: Vincent P. LaBella; +Cc: Cygwin Mailing List

> Ok, I got the latest snapshot cygwin-inst-20000304.tar.gz.  I untarred it
> and I see that all the lib and include files are in a directory i686...
> not i586... as my b20.1 distribution.  should I completely remove my i586
> directory? or replace it with the i686 directory?  is this the right
> snapshot?

Yes it is. This happens because in the next net release everything
will go into the i686 directory. I for myself always move the i686
stuff to i586 (replacing the old files) and it works.

- Axel


=======================================================================
Axel Riese
Research Institute for Symbolic Computation
J. Kepler University Linz                     Tel: +43 (0)732 2468 9939
Altenbergerstrasse 69                         Fax: +43 (0)732 2468 9930
A-4040 Linz                      e-Mail: Axel.Riese@risc.uni-linz.ac.at
Austria              http://www.risc.uni-linz.ac.at/people/ariese/home/
=======================================================================

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

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

* Re: Shellexecute doubly defined during compile of V
  2000-03-08 23:30 Axel Riese
@ 2000-03-09 12:28 ` Vincent P. LaBella
  2000-03-09 23:10   ` Axel Riese
  0 siblings, 1 reply; 8+ messages in thread
From: Vincent P. LaBella @ 2000-03-09 12:28 UTC (permalink / raw)
  To: Axel Riese; +Cc: Cygwin Mailing List

On Thu, 9 Mar 2000, Axel Riese wrote:

> >         I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> > gcc 2.95.2 nt 4.0
> 
> > I get the follwing errors about certain items being defined twice.  Any
> > ideas what is causing this?
> 
> You have two different versions of the Win32 headers installed.
> Just delete the Windows32/ subdirectory (it's old) and reinstall the
> latest snapshot.

Ok, I got the latest snapshot cygwin-inst-20000304.tar.gz.  I untarred it
and I see that all the lib and include files are in a directory i686...
not i586... as my b20.1 distribution.  should I completely remove my i586
directory? or replace it with the i686 directory?  is this the right
snapshot?

Vince


> 
> - Axel
> 
> 
> =======================================================================
> Axel Riese
> Research Institute for Symbolic Computation
> J. Kepler University Linz                     Tel: +43 (0)732 2468 9939
> Altenbergerstrasse 69                         Fax: +43 (0)732 2468 9930
> A-4040 Linz                      e-Mail: Axel.Riese@risc.uni-linz.ac.at
> Austria              http://www.risc.uni-linz.ac.at/people/ariese/home/
> =======================================================================
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

+= Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
| Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
+===============> http://comp.uark.edu/~vlabella <=================+


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

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

* Re: Shellexecute doubly defined during compile of V
@ 2000-03-08 23:30 Axel Riese
  2000-03-09 12:28 ` Vincent P. LaBella
  0 siblings, 1 reply; 8+ messages in thread
From: Axel Riese @ 2000-03-08 23:30 UTC (permalink / raw)
  To: Cygwin Mailing List

>         I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> gcc 2.95.2 nt 4.0

> I get the follwing errors about certain items being defined twice.  Any
> ideas what is causing this?

You have two different versions of the Win32 headers installed.
Just delete the Windows32/ subdirectory (it's old) and reinstall the
latest snapshot.

- Axel


=======================================================================
Axel Riese
Research Institute for Symbolic Computation
J. Kepler University Linz                     Tel: +43 (0)732 2468 9939
Altenbergerstrasse 69                         Fax: +43 (0)732 2468 9930
A-4040 Linz                      e-Mail: Axel.Riese@risc.uni-linz.ac.at
Austria              http://www.risc.uni-linz.ac.at/people/ariese/home/
=======================================================================

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

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

* Re: Shellexecute doubly defined during compile of V
  2000-03-08 11:19 Earnie Boyd
@ 2000-03-08 11:54 ` Vincent P. LaBella
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent P. LaBella @ 2000-03-08 11:54 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Cygwin List

On Wed, 8 Mar 2000, Earnie Boyd wrote:

> --- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> > On Wed, 8 Mar 2000, Earnie Boyd wrote:
> > 
> > > --- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> > > > Hello,
> > > > 	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> > > > gcc 2.95.2 nt 4.0
> > > > 
> > > > I get the follwing errors about certain items being defined twice.  Any
> > > > ideas what is causing this?
> > > > 
> > > 
> > > The gcc output tells you all you need to answer your question; there
> > defined
> > > twice, once in shellapi.h and once in Functions.h.  Now, do you wish to ask
> > a
> > > different question?
> > 
> > Your wit is so acute I though you would be able explain how to fix it
> > 
> 
> IMO, the correct fix would be to remove the include of the deprecated
> Functions.h file.

The include is comming from windows.h.  so how do I remove it?  Should one
not include windows.h and shellapi.h in the same file.


> 
> 
> 
> =====
> ---
>    Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
>            __Minimalist GNU for Windows__
>   Mingw32 List: < http://www.egroups.com/group/mingw32/ >
>     Mingw Home: < http://www.mingw.org/ >
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

+= Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
| Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
+===============> http://comp.uark.edu/~vlabella <=================+


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

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

* Re: Shellexecute doubly defined during compile of V
@ 2000-03-08 11:19 Earnie Boyd
  2000-03-08 11:54 ` Vincent P. LaBella
  0 siblings, 1 reply; 8+ messages in thread
From: Earnie Boyd @ 2000-03-08 11:19 UTC (permalink / raw)
  To: Vincent P. LaBella; +Cc: Cygwin List

--- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> On Wed, 8 Mar 2000, Earnie Boyd wrote:
> 
> > --- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> > > Hello,
> > > 	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> > > gcc 2.95.2 nt 4.0
> > > 
> > > I get the follwing errors about certain items being defined twice.  Any
> > > ideas what is causing this?
> > > 
> > 
> > The gcc output tells you all you need to answer your question; there
> defined
> > twice, once in shellapi.h and once in Functions.h.  Now, do you wish to ask
> a
> > different question?
> 
> Your wit is so acute I though you would be able explain how to fix it
> 

IMO, the correct fix would be to remove the include of the deprecated
Functions.h file.



=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

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

* Re: Shellexecute doubly defined during compile of V
  2000-03-08  9:30 Earnie Boyd
@ 2000-03-08 10:50 ` Vincent P. LaBella
  0 siblings, 0 replies; 8+ messages in thread
From: Vincent P. LaBella @ 2000-03-08 10:50 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Cygwin List

On Wed, 8 Mar 2000, Earnie Boyd wrote:

> --- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> > Hello,
> > 	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> > gcc 2.95.2 nt 4.0
> > 
> > I get the follwing errors about certain items being defined twice.  Any
> > ideas what is causing this?
> > 
> 
> The gcc output tells you all you need to answer your question; there defined
> twice, once in shellapi.h and once in Functions.h.  Now, do you wish to ask a
> different question?

Your wit is so acute I though you would be able explain how to fix it

Vince
  

> 
> > Thanks
> > 
> > Vince
> > 
> > 
> > g++ -c -I../includew  -O2 -o ../obj/vapp.o vapp.cpp
> > In file included from vapp.cpp:51:
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:108: warning: `ShellExecute'
> > redefined
> > 
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:850: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:109: warning: `FindExecutable'
> > redefin
> > ed
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:848: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:110: warning: `ShellAbout'
> > redefined
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:849: warning: this is
> > the l
> > ocation of the previous definition
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/shellapi.h:111: warning:
> > `ExtractAssociatedIcon'
> > redefined
> >
> /d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> > ../../../i586-cygwin32/include/Windows32/Functions.h:846: warning: this is
> > the l
> > ocation of the previous definition
> > vapp.cpp:53: commctrl.h: No such file or directory
> > make: *** [../obj/vapp.o] Error 1
> > 
> > += Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
> > | Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
> > +===============> http://comp.uark.edu/~vlabella <=================+
> > 
> > 
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> > 
> > 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

+= Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
| Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
+===============> http://comp.uark.edu/~vlabella <=================+


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

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

* Re: Shellexecute doubly defined during compile of V
@ 2000-03-08  9:30 Earnie Boyd
  2000-03-08 10:50 ` Vincent P. LaBella
  0 siblings, 1 reply; 8+ messages in thread
From: Earnie Boyd @ 2000-03-08  9:30 UTC (permalink / raw)
  To: Vincent P. LaBella, Cygwin List

--- "Vincent P. LaBella" <vlabella@comp.uark.edu> wrote:
> Hello,
> 	I'm trying to compile the latest version of V 1.24 on cygwin b20.1
> gcc 2.95.2 nt 4.0
> 
> I get the follwing errors about certain items being defined twice.  Any
> ideas what is causing this?
> 

The gcc output tells you all you need to answer your question; there defined
twice, once in shellapi.h and once in Functions.h.  Now, do you wish to ask a
different question?

> Thanks
> 
> Vince
> 
> 
> g++ -c -I../includew  -O2 -o ../obj/vapp.o vapp.cpp
> In file included from vapp.cpp:51:
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/shellapi.h:108: warning: `ShellExecute'
> redefined
> 
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/Windows32/Functions.h:850: warning: this is
> the l
> ocation of the previous definition
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/shellapi.h:109: warning: `FindExecutable'
> redefin
> ed
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/Windows32/Functions.h:848: warning: this is
> the l
> ocation of the previous definition
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/shellapi.h:110: warning: `ShellAbout'
> redefined
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/Windows32/Functions.h:849: warning: this is
> the l
> ocation of the previous definition
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/shellapi.h:111: warning:
> `ExtractAssociatedIcon'
> redefined
>
/d/cygnus/cygwin-b20/h-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.95.2/../
> ../../../i586-cygwin32/include/Windows32/Functions.h:846: warning: this is
> the l
> ocation of the previous definition
> vapp.cpp:53: commctrl.h: No such file or directory
> make: *** [../obj/vapp.o] Error 1
> 
> += Vincent P. LaBella vlabella@comp.uark.edu  Univ. of Arkansas =+ 
> | Dept. of Physics  Fayetteville, AR 72701  501-575-4313 FAX:4781|
> +===============> http://comp.uark.edu/~vlabella <=================+
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

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

end of thread, other threads:[~2000-03-09 23:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-08  8:35 Shellexecute doubly defined during compile of V Vincent P. LaBella
2000-03-08  9:30 Earnie Boyd
2000-03-08 10:50 ` Vincent P. LaBella
2000-03-08 11:19 Earnie Boyd
2000-03-08 11:54 ` Vincent P. LaBella
2000-03-08 23:30 Axel Riese
2000-03-09 12:28 ` Vincent P. LaBella
2000-03-09 23:10   ` Axel Riese

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).