Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Patchypatchy' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Patchypatchy
Authored by: miketja on Oct 02, '02 04:24:45AM

I simply added the following line to the end of config.h:

#define socklen_t int

and it compiled ok on my 10.2.1 Mac.

- Mike



[ Reply to This | # ]
Patchypatchy
Authored by: Garin on Oct 02, '02 11:29:37AM

Jolly good -- that did it! Thanks!



[ Reply to This | # ]
Patchypatchy
Authored by: scroy on Oct 02, '02 09:19:24PM

Even when I add your path to the config.h, I get the following compile error.
What am I missing???

cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I../common -I.. -I../intl -Wall -c ap-nwn.c
ap-nwn.c:31: storage size of `ap_ip' isn't known
make[2]: *** [ap-nwn.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2



[ Reply to This | # ]
Patchypatchy
Authored by: patashnik on Oct 03, '02 02:10:56AM
My patch boils down to almost the same. To be safe, I've used an uint32_t instead of an int, and that type is defined in (so you'll need to #include) stdint.h.

[ Reply to This | # ]
New release with fixes
Authored by: festchook on Oct 03, '02 12:19:01PM
You suggection included in new release 1.1.1 of Wireless Access Point Utilites for Unix that may be downloaded from homepage http://ap-utils.polesye.net/?download. If you have any problems compiling or run please report to author or maillist. Thanks!

[ Reply to This | # ]