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


Click here to return to the 'Make errors on 10.1.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make errors on 10.1.2
Authored by: Anonymous on Dec 27, '01 09:52:55PM

When running make as root on OS X 10.1.2, "make modules" fails with the following errors:

In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OT.framework/Headers/OT.h:29,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
from /usr/include/profile.h:17,
from /usr/include/krb.h:154,
from mod_unixpw.c:45:
/System/Library/Frameworks/CoreServices.framework/Frameworks/OT.framework/Headers/OpenTransportProviders.h:126: warning: `TCP_NODELAY' redefined
/usr/include/netinet/tcp.h:148: warning: this is the location of the previous definition
/System/Library/Frameworks/CoreServices.framework/Frameworks/OT.framework/Headers/OpenTransportProviders.h:127: warning: `TCP_MAXSEG' redefined
/usr/include/netinet/tcp.h:149: warning: this is the location of the previous definition
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/OT.framework/Headers/OT.h:29,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
from /usr/include/profile.h:18,
from /usr/include/krb.h:155,
from mod_unixpw.c:45:
/System/Library/Frameworks/CoreServices.framework/Frameworks/OT.framework/Headers/OpenTransportProviders.h:110: parse error before `0x01'
make[1]: *** [mod_unixpw.o] Error 1
make: *** [modules] Error 2

Anyone else run into this, or better yet, know of a fix?



[ Reply to This | # ]
Make errors on 10.1.2
Authored by: jtnt on Jan 23, '02 03:11:56PM

Yep, same as you. Running 10.1.2 and I get the exact same (or very similar) error on make during the 'make module' part. Anyone found anything out about this?



[ Reply to This | # ]
Make errors on 10.1.2
Authored by: themaf on Mar 08, '02 08:37:09AM

Yep, I got the same thing. Is there anyone that knows how to fix this, or let us know what we are missing to compile it.



[ Reply to This | # ]
Make errors on 10.1.2
Authored by: kyngchaos on Apr 03, '02 11:45:47AM

Same here on two different Macs - new dual 1G and old PB G3 firewire, both 10.1.3. Patch doesn't help.

I found a precompiled binary, but there was no info as to what options and modules were used, tho it looks like just defaults were used. I would like to compile it with a couple optional modules.



[ Reply to This | # ]
Make errors on 10.1.2
Authored by: kyngchaos on Apr 09, '02 01:43:20PM

Figured it out (for anyone interested):

in the file modules/mod_unixpw.c, between lines 44 and 45, insert these two lines:

#undef TCP_NODELAY
#undef TCP_MAXSEG

Apparently these are used in the coreservices headers, but are NOT supposed to affect user compilation, but they do.

You'll still get a bunch of warnings, but it compiles and runs. Add this to the GUID patch and everything should be peachy.



[ Reply to This | # ]
Make errors on 10.1.2
Authored by: jesk on Sep 01, '02 08:31:40AM

i dont this and it seems that it compiles correctly, but when im starting proftpd i become the message:"bus error". can anybody help me?



[ Reply to This | # ]