Everybuddy compile problems

Find out how to get that @*&^$&@ thing to compile!

Everybuddy compile problems

Postby Juanjo » Fri Nov 16, 2001 3:43 pm

Hi, Im trying to compile <A HREF="http://www.everybuddy.com" TARGET=_blank>Everybuddy</A> on OS X 10.1 with the latest developer tools. I have no experience in compiling problems or programming in UNIX [img]images/icons/frown.gif"%20border="0[/img]

<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre>/usr/include/resolv.h:138: `MAXDNAME' undeclared here (not in a function)
*** Error code 1

Stop in /Users/sangx/Applications/everybuddy-0.2.0/libxode.
*** Error code 1

Stop in /Users/sangx/Applications/everybuddy-0.2.0/libxode.
*** Error code 1

Stop in /Users/sangx/Applications/everybuddy-0.2.0.</pre>[/quote]

Chequed in /usr/include/resolv.h and there is no reference to MAXDNAME, checked also the same file in my FreeBSD box and there is no refences too but there is a port for FreeBSD that works
Juanjo
 
Posts: 1
Joined: Fri Nov 16, 2001 8:00 pm
Location: Spain

Re: Everybuddy compile problems

Postby apex » Mon Nov 26, 2001 2:13 am

in resolv.h change:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
char defdname[MAXDNAME]; /* default domain */
</pre>[/quote]
to:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
char defdname[256]; /* default domain */
</pre>[/quote]

I haven't tested this, but it should work.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 9 guests

cron