Quantcast

Patch for Bind

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Patch for Bind

Jason Cox-4
next on the list is bind. I have this patch for the Makefile but i dont
know how to make it so that it is applied by the master Makefile at
build time.


bind-9.3.1/lib/dns/Makefile

--- Makefile    2007-05-15 12:13:16.000000000 +1000
+++ Makefile.org        2007-05-15 12:12:03.000000000 +1000
@@ -265,10 +265,6 @@
        ${ALL_CPPFLAGS} \
        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}

-GEN_CFLAGS = ${EXT_CFLAGS} -pipe -Os \
-        ${ALL_CPPFLAGS} \
-        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
-
 .c.lo:
        ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c $<

@@ -438,7 +434,7 @@
        ./gen -s ${srcdir} > code.h

 gen: gen.c
-       cc ${GEN_CFLAGS} -o $@ ${srcdir}/gen.c
+       cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c

 rbtdb64.lo: rbtdb.c





-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Patch for Bind

Craig Hughes
That patch doesn't look right.  On my system, after autoconf does its  
thing and produces Makefile from Makefile.in, I get the "+" line for  
the instructions on gen: gen.c, and the -GEN_FLAGS in my Makefile is  
actually a definition for ALL_CFLAGS, not GEN_CFLAGS.  I do get an  
error because it should be calling $(CC) or something instead of cc  
(ie use the cross-compiler not the host compiler for gen: gen.c) --  
is that what you're trying to fix there?

C

On May 14, 2007, at 7:22 PM, Jason Cox wrote:

> next on the list is bind. I have this patch for the Makefile but i  
> dont
> know how to make it so that it is applied by the master Makefile at
> build time.
>
>
> bind-9.3.1/lib/dns/Makefile
>
> --- Makefile    2007-05-15 12:13:16.000000000 +1000
> +++ Makefile.org        2007-05-15 12:12:03.000000000 +1000
> @@ -265,10 +265,6 @@
>         ${ALL_CPPFLAGS} \
>         ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
>
> -GEN_CFLAGS = ${EXT_CFLAGS} -pipe -Os \
> -        ${ALL_CPPFLAGS} \
> -        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
> -
>  .c.lo:
>         ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c $<
>
> @@ -438,7 +434,7 @@
>         ./gen -s ${srcdir} > code.h
>
>  gen: gen.c
> -       cc ${GEN_CFLAGS} -o $@ ${srcdir}/gen.c
> +       cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
>
>  rbtdb64.lo: rbtdb.c
>
>
>
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> gumstix-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Patch for Bind

Craig Hughes
Ah oops -- I see, that is supposed to be native-compiled, not cross-
compiled since it gets run on the host.  I'll see if I can poke the  
Makefile.in into doing the right thing there.

C

On May 14, 2007, at 11:04 PM, Craig Hughes wrote:

> That patch doesn't look right.  On my system, after autoconf does  
> its thing and produces Makefile from Makefile.in, I get the "+"  
> line for the instructions on gen: gen.c, and the -GEN_FLAGS in my  
> Makefile is actually a definition for ALL_CFLAGS, not GEN_CFLAGS.  
> I do get an error because it should be calling $(CC) or something  
> instead of cc (ie use the cross-compiler not the host compiler for  
> gen: gen.c) -- is that what you're trying to fix there?
>
> C
>
> On May 14, 2007, at 7:22 PM, Jason Cox wrote:
>
>> next on the list is bind. I have this patch for the Makefile but i  
>> dont
>> know how to make it so that it is applied by the master Makefile at
>> build time.
>>
>>
>> bind-9.3.1/lib/dns/Makefile
>>
>> --- Makefile    2007-05-15 12:13:16.000000000 +1000
>> +++ Makefile.org        2007-05-15 12:12:03.000000000 +1000
>> @@ -265,10 +265,6 @@
>>         ${ALL_CPPFLAGS} \
>>         ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
>>
>> -GEN_CFLAGS = ${EXT_CFLAGS} -pipe -Os \
>> -        ${ALL_CPPFLAGS} \
>> -        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
>> -
>>  .c.lo:
>>         ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c $<
>>
>> @@ -438,7 +434,7 @@
>>         ./gen -s ${srcdir} > code.h
>>
>>  gen: gen.c
>> -       cc ${GEN_CFLAGS} -o $@ ${srcdir}/gen.c
>> +       cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
>>
>>  rbtdb64.lo: rbtdb.c
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> ----
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> gumstix-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Patch for Bind

Craig Hughes
In reply to this post by Jason Cox-4
Ok, fixed it, and committed the change, plus the berkeleydb/at  
patches from the other thread -- thanks Jason

C

On May 14, 2007, at 7:22 PM, Jason Cox wrote:

> next on the list is bind. I have this patch for the Makefile but i  
> dont
> know how to make it so that it is applied by the master Makefile at
> build time.
>
>
> bind-9.3.1/lib/dns/Makefile
>
> --- Makefile    2007-05-15 12:13:16.000000000 +1000
> +++ Makefile.org        2007-05-15 12:12:03.000000000 +1000
> @@ -265,10 +265,6 @@
>         ${ALL_CPPFLAGS} \
>         ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
>
> -GEN_CFLAGS = ${EXT_CFLAGS} -pipe -Os \
> -        ${ALL_CPPFLAGS} \
> -        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
> -
>  .c.lo:
>         ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c $<
>
> @@ -438,7 +434,7 @@
>         ./gen -s ${srcdir} > code.h
>
>  gen: gen.c
> -       cc ${GEN_CFLAGS} -o $@ ${srcdir}/gen.c
> +       cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
>
>  rbtdb64.lo: rbtdb.c
>
>
>
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> gumstix-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Patch for Bind

Jason Cox-4
Craig,
 no prob' on the patches and i will continue when I return to work with
the rest.
Jason


On Mon, 2007-05-14 at 23:15 -0700, Craig Hughes wrote:

> Ok, fixed it, and committed the change, plus the berkeleydb/at  
> patches from the other thread -- thanks Jason
>
> C
>
> On May 14, 2007, at 7:22 PM, Jason Cox wrote:
>
> > next on the list is bind. I have this patch for the Makefile but i  
> > dont
> > know how to make it so that it is applied by the master Makefile at
> > build time.
> >
> >
> > bind-9.3.1/lib/dns/Makefile
> >
> > --- Makefile    2007-05-15 12:13:16.000000000 +1000
> > +++ Makefile.org        2007-05-15 12:12:03.000000000 +1000
> > @@ -265,10 +265,6 @@
> >         ${ALL_CPPFLAGS} \
> >         ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
> >
> > -GEN_CFLAGS = ${EXT_CFLAGS} -pipe -Os \
> > -        ${ALL_CPPFLAGS} \
> > -        ${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
> > -
> >  .c.lo:
> >         ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} -c $<
> >
> > @@ -438,7 +434,7 @@
> >         ./gen -s ${srcdir} > code.h
> >
> >  gen: gen.c
> > -       cc ${GEN_CFLAGS} -o $@ ${srcdir}/gen.c
> > +       cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
> >
> >  rbtdb64.lo: rbtdb.c
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > gumstix-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> gumstix-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Loading...