* mywinsock.h
@ 1998-01-12 9:17 Brent Flannery
0 siblings, 0 replies; 6+ messages in thread
From: Brent Flannery @ 1998-01-12 9:17 UTC (permalink / raw)
To: gnu-win32
Continuing with my problem... (which may simply not be solvable at this
point) I see there are no definitions for the unix ip and iphdr and udp
either in mywinsock.h or in any of the include dir's.. am I just out of luck
here?:(
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mywinsock.h
@ 1998-01-12 17:26 vischne
0 siblings, 0 replies; 6+ messages in thread
From: vischne @ 1998-01-12 17:26 UTC (permalink / raw)
To: gnu-win32
> Brent Flannery (brentf@linknet.net)
>Continuing with my problem... (which may simply not be solvable at this
>point) I see there are no definitions for the unix ip and iphdr and udp
>either in mywinsock.h or in any of the include dir's.. am I just out of luck
>here?:(
>
Not exactly. If you are porting Unix apps, they won't reference winsock.h
at all, and they will get <sys/socket.h> or something that will end up
putting them in <cygwin32/*.h> where their winsocket calls will be modified
to
cygwin_gethostname(...) instead of gethosthame(...)
or whatever.
If you use the gnu winsock.h, you'll find that it is buggy (`alpha'),
and that you can fix it by going through it putting in ifdefs for all
the <sys/*.h> files it includes without protecting with ifdefs.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mywinsock.h
1998-01-11 13:15 mywinsock.h Brent Flannery
1998-01-11 23:01 ` mywinsock.h jman
@ 1998-01-12 5:03 ` Joe Stevens
1 sibling, 0 replies; 6+ messages in thread
From: Joe Stevens @ 1998-01-12 5:03 UTC (permalink / raw)
To: Brent Flannery; +Cc: gnu-win32
On Sun, 11 Jan 1998, Brent Flannery wrote:
| It seems as though whenever I try to compile a file with mywinsock.h I get
| the following errors..
|
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:87: syntax error before
| `u_short'
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:782: syntax error before string
| cons
| tant
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:829: syntax error before `}'
| GCC.EXE: Internal compiler error: program cc1 got fatal signal 33
|
|
| I get this even if I just create a file "test.c" with 1 line "#include
| <mywinsock.h>
|
| Is there something I am missing here?
|
|
|
| Also, what is ming32, and what is its home page?
|
There may be a small problem. Where is the exact location of mywinsock.h?
Your include statement is looking for in the standard header file
location. If your header file is in the same location as test.c, then the
include statement should look like this
#include "mywinsock.h"
or if you have a header directory then,
#include "./header/myswinsock.h"
Hope this helps.
-Joe Stevens-)))--->> URL http://www530.gsfc.nasa.gov/~stevens
-----------------------------------------------+
|\ | /\ (< /\ Goddard Space Flight Center |
| \|/ \ >)/ \ Network Engineering Branch |
Code 531.2, Greenbelt, Maryland 20771 |
Email: joe.stevens@gsfc.nasa.gov :-) |
Tel: (301) 286-1557 Fax: (301) 286-1724 |
-----------------------------------------------+
_
___ "Remember the mission."
(- -)
^
V
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mywinsock.h
1998-01-11 13:15 mywinsock.h Brent Flannery
@ 1998-01-11 23:01 ` jman
1998-01-12 5:03 ` mywinsock.h Joe Stevens
1 sibling, 0 replies; 6+ messages in thread
From: jman @ 1998-01-11 23:01 UTC (permalink / raw)
To: Brent Flannery, gnu-win32
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When making something that requires winsock. anything to not include
it.
At ftp://ftp.deninc.com you can find the ms_icmp example. It uses
winsock an also loads the default icmp.dll if you include winsock in
the source tho it won't compile. Just comment out winsock an try to
compile it...
At 03:14 PM 1/11/98 -0600, Brent Flannery wrote:
>It seems as though whenever I try to compile a file with mywinsock.h
I get
>the following errors..
>
>C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-
2.7.2-97040
>4\..
>/../../../i386-cygwin32/include/mywinsock.h:87: syntax error before
>`u_short'
>C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-
2.7.2-97040
>4\..
>/../../../i386-cygwin32/include/mywinsock.h:782: syntax error before
string
>cons
>tant
>C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-
2.7.2-97040
>4\..
>/../../../i386-cygwin32/include/mywinsock.h:829: syntax error before
`}'
>GCC.EXE: Internal compiler error: program cc1 got fatal signal 33
>
>
>I get this even if I just create a file "test.c" with 1 line
"#include
><mywinsock.h>
>
>Is there something I am missing here?
>
>
>
>Also, what is ming32, and what is its home page?
>
>
>-
>For help on using this list (especially unsubscribing), send a
message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNLnABQ6ne3t4b32aEQInFwCfRashlcxRpvUV+t3HYtmZ5PpH6L0AoNLM
rm72vXEKm8cnIdod2EZE+THM
=XZdK
-----END PGP SIGNATURE-----
-------------------------------------------------------
Jason L. Esman aka _Jman Owner Den Internet Services
System Admin. Network Consulting http://www.deninc.com
Email jman@lx.net or root@lx.net
Finger jman@lx.net for PGP Public Keys...
-------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* mywinsock.h
@ 1998-01-11 13:15 Brent Flannery
1998-01-11 23:01 ` mywinsock.h jman
1998-01-12 5:03 ` mywinsock.h Joe Stevens
0 siblings, 2 replies; 6+ messages in thread
From: Brent Flannery @ 1998-01-11 13:15 UTC (permalink / raw)
To: gnu-win32
It seems as though whenever I try to compile a file with mywinsock.h I get
the following errors..
C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
4\..
/../../../i386-cygwin32/include/mywinsock.h:87: syntax error before
`u_short'
C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
4\..
/../../../i386-cygwin32/include/mywinsock.h:782: syntax error before string
cons
tant
C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
4\..
/../../../i386-cygwin32/include/mywinsock.h:829: syntax error before `}'
GCC.EXE: Internal compiler error: program cc1 got fatal signal 33
I get this even if I just create a file "test.c" with 1 line "#include
<mywinsock.h>
Is there something I am missing here?
Also, what is ming32, and what is its home page?
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* mywinsock.h
@ 1997-11-25 2:55 jman
0 siblings, 0 replies; 6+ messages in thread
From: jman @ 1997-11-25 2:55 UTC (permalink / raw)
To: gnu-win32
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What is wrong with this file, any time I include it in a source an
compile it complains over an over with errors, Is the a special way
to use it? Is it just messed up? Anyone use it?
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNHnSmA6ne3t4b32aEQIWNQCdFE44kle0J4ZD4qLYo8sCUDr1elMAoIGs
LVWfz2+F2ctXskJpz4qLsz5X
=Eemp
-----END PGP SIGNATURE-----
-------------------------------------------------------
Jason L. Esman aka _Jman Owner Den Internet Services
System Admin. Network Consulting
http://www.deninc.com | UIN: 2820043
Email jman@lx.net or root@lx.net
Finger jman@lx.net for PGP Public Keys...
-------------------------------------------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-01-12 17:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-12 9:17 mywinsock.h Brent Flannery
-- strict thread matches above, loose matches on Subject: below --
1998-01-12 17:26 mywinsock.h vischne
1998-01-11 13:15 mywinsock.h Brent Flannery
1998-01-11 23:01 ` mywinsock.h jman
1998-01-12 5:03 ` mywinsock.h Joe Stevens
1997-11-25 2:55 mywinsock.h jman
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).