* [9fans] error building dns.c
@ 2007-03-21 23:49 David Leimbach
2007-03-22 0:02 ` erik quanstrom
2007-03-22 0:15 ` geoff
0 siblings, 2 replies; 9+ messages in thread
From: David Leimbach @ 2007-03-21 23:49 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
dns.c: 185 too many function arguments: convM2DNS
Do I need a new compiler?
I'll admit freely I don't think I've done this in a while :-)
Dave
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-21 23:49 [9fans] error building dns.c David Leimbach
@ 2007-03-22 0:02 ` erik quanstrom
2007-03-22 0:15 ` geoff
1 sibling, 0 replies; 9+ messages in thread
From: erik quanstrom @ 2007-03-22 0:02 UTC (permalink / raw)
To: 9fans
you need to sync your dns directory with sources.
- erik
On Wed Mar 21 19:49:51 EDT 2007, leimy2k@gmail.com wrote:
> dns.c: 185 too many function arguments: convM2DNS
>
> Do I need a new compiler?
>
> I'll admit freely I don't think I've done this in a while :-)
>
> Dave
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-21 23:49 [9fans] error building dns.c David Leimbach
2007-03-22 0:02 ` erik quanstrom
@ 2007-03-22 0:15 ` geoff
2007-03-22 0:19 ` David Leimbach
1 sibling, 1 reply; 9+ messages in thread
From: geoff @ 2007-03-22 0:15 UTC (permalink / raw)
To: 9fans
The dns source on sources compiles. If you've just pulled and still
can't compile it, just copy /sys/src/cmd/ndb from sources.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:15 ` geoff
@ 2007-03-22 0:19 ` David Leimbach
2007-03-22 0:27 ` David Leimbach
0 siblings, 1 reply; 9+ messages in thread
From: David Leimbach @ 2007-03-22 0:19 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 3/21/07, geoff@plan9.bell-labs.com <geoff@plan9.bell-labs.com> wrote:
> The dns source on sources compiles. If you've just pulled and still
> can't compile it, just copy /sys/src/cmd/ndb from sources.
>
>
yep just did a pull and it's not working... I'll copy it down.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:19 ` David Leimbach
@ 2007-03-22 0:27 ` David Leimbach
2007-03-22 0:42 ` erik quanstrom
0 siblings, 1 reply; 9+ messages in thread
From: David Leimbach @ 2007-03-22 0:27 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 3/21/07, David Leimbach <leimy2k@gmail.com> wrote:
> On 3/21/07, geoff@plan9.bell-labs.com <geoff@plan9.bell-labs.com> wrote:
> > The dns source on sources compiles. If you've just pulled and still
> > can't compile it, just copy /sys/src/cmd/ndb from sources.
> >
> >
> yep just did a pull and it's not working... I'll copy it down.
>
When I build dns from /sys/src using "mk all" I get the error
dns.c:185 too many function arguments: convM2DNS
(I think line 185 is a blank line by the way, it was before)
when I build from /sys/src/cmd/ndb, it compiles just fine.
Dave
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:27 ` David Leimbach
@ 2007-03-22 0:42 ` erik quanstrom
2007-03-22 0:52 ` erik quanstrom
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: erik quanstrom @ 2007-03-22 0:42 UTC (permalink / raw)
To: 9fans
could this dns.c be from snoopy? that has a convM2DNS on line 185 of dns.c
- erik
On Wed Mar 21 20:27:42 EDT 2007, leimy2k@gmail.com wrote:
> On 3/21/07, David Leimbach <leimy2k@gmail.com> wrote:
> > On 3/21/07, geoff@plan9.bell-labs.com <geoff@plan9.bell-labs.com> wrote:
> > > The dns source on sources compiles. If you've just pulled and still
> > > can't compile it, just copy /sys/src/cmd/ndb from sources.
> > >
> > >
> > yep just did a pull and it's not working... I'll copy it down.
> >
>
> When I build dns from /sys/src using "mk all" I get the error
>
> dns.c:185 too many function arguments: convM2DNS
>
> (I think line 185 is a blank line by the way, it was before)
>
> when I build from /sys/src/cmd/ndb, it compiles just fine.
>
> Dave
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:42 ` erik quanstrom
@ 2007-03-22 0:52 ` erik quanstrom
2007-03-22 1:07 ` David Leimbach
2007-03-22 2:30 ` geoff
2 siblings, 0 replies; 9+ messages in thread
From: erik quanstrom @ 2007-03-22 0:52 UTC (permalink / raw)
To: 9fans
in fact this seems very likely. here's the problem:
cpu% pwd
/n/sources/plan9/sys/src/cmd/ip/snoopy
cpu% grep M2DNS *.c
dns.c: if((e = convM2DNS(m->ps, m->pe-m->ps, &dm, nil)) != nil){
cpu% grep M2DNS ../../ndb/*.h
/* convM2DNS.c */
extern char* convM2DNS(uchar*, int, DNSmsg*);
- erik
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:42 ` erik quanstrom
2007-03-22 0:52 ` erik quanstrom
@ 2007-03-22 1:07 ` David Leimbach
2007-03-22 2:30 ` geoff
2 siblings, 0 replies; 9+ messages in thread
From: David Leimbach @ 2007-03-22 1:07 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Oh that's totally possible!!! UGH...
On 3/21/07, erik quanstrom <quanstro@coraid.com> wrote:
> could this dns.c be from snoopy? that has a convM2DNS on line 185 of dns.c
>
> - erik
>
> On Wed Mar 21 20:27:42 EDT 2007, leimy2k@gmail.com wrote:
> > On 3/21/07, David Leimbach <leimy2k@gmail.com> wrote:
> > > On 3/21/07, geoff@plan9.bell-labs.com <geoff@plan9.bell-labs.com> wrote:
> > > > The dns source on sources compiles. If you've just pulled and still
> > > > can't compile it, just copy /sys/src/cmd/ndb from sources.
> > > >
> > > >
> > > yep just did a pull and it's not working... I'll copy it down.
> > >
> >
> > When I build dns from /sys/src using "mk all" I get the error
> >
> > dns.c:185 too many function arguments: convM2DNS
> >
> > (I think line 185 is a blank line by the way, it was before)
> >
> > when I build from /sys/src/cmd/ndb, it compiles just fine.
> >
> > Dave
>
--
- Passage Matthew 5:37:
But let your communication be, Yea, yea; Nay, nay: for whatsoever
is more than these cometh of evil.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [9fans] error building dns.c
2007-03-22 0:42 ` erik quanstrom
2007-03-22 0:52 ` erik quanstrom
2007-03-22 1:07 ` David Leimbach
@ 2007-03-22 2:30 ` geoff
2 siblings, 0 replies; 9+ messages in thread
From: geoff @ 2007-03-22 2:30 UTC (permalink / raw)
To: 9fans
I've downgraded snoopy to match dns on sources.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-03-22 2:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-21 23:49 [9fans] error building dns.c David Leimbach
2007-03-22 0:02 ` erik quanstrom
2007-03-22 0:15 ` geoff
2007-03-22 0:19 ` David Leimbach
2007-03-22 0:27 ` David Leimbach
2007-03-22 0:42 ` erik quanstrom
2007-03-22 0:52 ` erik quanstrom
2007-03-22 1:07 ` David Leimbach
2007-03-22 2:30 ` geoff
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 NNTP newsgroup(s).