Re: also: Darwin 6.0 compile problems
i also think that in osfmk/kern/task.c ligne 576 if (task->bsd_info) return(KERN_FAILURE); should be changed to #ifdef MACH_BSD if (task->bsd_info) return(KERN_FAILURE); #endif because in osfmk/kern/task.h thereis: #ifdef MACH_BSD void *bsd_info; #endif in struct task there is the same probleme in: osfmk/kern/thread.c:732 osfmk/kern/thread.c:877 osfmk/kern/thread_act.c:949 i also have a question, how can i chose the name of my kernel at boot ? thereis anything to change in the firmware ? Jean-Edouard BABIN icrit:
I have the same problem, I have deleted bsd/net/ndrv_var.h then do a cvs
update
I think that
struct ndrv_multiaddr
{
struct ndrv_multiaddr* next;
struct sockaddr addr;
};
Must be added to this .h
I also think that struct ndrv_multiaddr* nd_multiaddrs; must be
added in struct ndrv_cb...
After that work
# cat bsd/net/ndrv_var.h
/* [SNIP] */
#ifndef _NET_NDRV_VAR_H
#define _NET_NDRV_VAR_H
#ifdef KERNEL
/* [SNIP] */
struct ndrv_cb
{
struct ndrv_cb *nd_next; /* Doubly-linked list - Obsolete */
struct ndrv_cb *nd_prev;
struct socket *nd_socket; /* Back to the socket */
unsigned int nd_signature; /* Just double-checking */
struct sockaddr_ndrv *nd_faddr;
struct sockaddr_ndrv *nd_laddr;
struct sockproto nd_proto; /* proto family, protocol */
int nd_descrcnt; /* # elements in nd_dlist - Obsolete
*/
TAILQ_HEAD(dlist, dlil_demux_desc) nd_dlist; /* Descr. list */
struct ifnet *nd_if;
u_long nd_send_tag;
u_long nd_tag;
u_long nd_family;
short nd_unit;
};
#define sotondrvcb(so) ((struct ndrv_cb *)(so)->so_pcb)
#define NDRV_SIGNATURE 0x4e445256 /* "NDRV" */
/* Nominal allocated space for NDRV sockets */
#define NDRVSNDQ 8192
#define NDRVRCVQ 8192
extern struct ndrv_cb ndrvl; /* Head of controlblock list */
#endif /* KERNEL */
#endif /* _NET_NDRV_VAR_H */
On 16/04/02 8:17, Josh Graessley (jgraessley@apple.com) wrote:
ndrv_multiaddr should be declared in bsd/net/ndrv_var.h.
I wonder...if you're only doing cvs updates and not a checkout, perhaps you
didn't get any files added to the net directory. ndrv_var.h was added a
while ago.
-josh
On 4/15/02 11:08 PM, "Nathan T. Hjelm" <hjelmn@cs.unm.edu> wrote:
I am having some problems with compiling the latest HEAD cvs source. The
problem come up in bsd/net/ndrv.c where I get compile errors because
struct ndrv_multiaddr is not defined in any of the header files. Am I
missing somthing or is this a problem with the current cvs source?
--
Jean-Edouard BABIN
Mail : Jeb@jeb.com.fr
Web : www.Jeb.com.fr
Icq : 27305084
Irc : Jeb @#Mac-fr , @#So .. UnderNet.org
_______________________________________________
darwin-kernel mailing list | darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
-- Jean-Edouard BABIN Jeb-Soft: http://www.jeb.com.fr _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Jean-Edouard BABIN