
In trying to build IPmm and linking with libixprouter.a I'm getting memRead16 and memWrite16 as undefined. They are used in pktgen.c. Should they changed to memRead16be and memWrite16be, which are defined? -- John

John, The proper definitions are: /* BEGIN DEFINTIONS */ extern inline u16 memRead16(u32 address) { return *((volatile u16 *)address); } extern inline void memWrite16(u32 address, u16 value) { *((volatile u16 *)address) = value; } /* END DEFINITIONS */ There should be a minor update of libixprouter and runtime sometime very soon which will correct this and some other minor problems. Zuki -- Yitzchak Gottlieb zuki@CS.Princeton.EDU On Mon, 25 Feb 2002, John H. Hartman wrote:
In trying to build IPmm and linking with libixprouter.a I'm getting memRead16 and memWrite16 as undefined. They are used in pktgen.c. Should they changed to memRead16be and memWrite16be, which are defined?
participants (2)
-
John H. Hartman
-
Yitzchak M. Gottlieb