[openib-general] Re: kdapltest building

Hal Rosenstock halr at voltaire.com
Mon Jul 25 12:56:16 PDT 2005


On Mon, 2005-07-25 at 15:53, James Lentini wrote:
> The makefile is setup to expect you have the entire OpenIB subversion 
> tree checked out.

These are on separate branches.

> The user level command (which is produced by 
> Makefile.user) requires the user level DAT include file, udat.h, to 
> build. 
> 
> The quick fix is to either checkout the entire OpenIB tree or edit 
> Makefile.user to include a different directory with udat.h.

I worked around it.

-- Hal

> Long term, this dependency should be removed from kdaptlest.

> james
> 
> On Mon, 25 Jul 2005, Hal Rosenstock wrote:
> 
> halr> Hi James,
> halr> 
> halr> With the latest changes, when building kdapltest as follows:
> halr> 
> halr> cd /path/to/svn/gen2/utils/src/linux-kernel/kdapl/dapltest/kdapl
> halr> make -f Makefile.user
> halr> 
> halr> gcc -g3  -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror -pipe -D__KDAPLTEST__ -D__LINUX__ -D__PENTIUM__ -I../../../../../../users/jlentini/userspace/dat/include/ -I/home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/kdapl/../include/ -I/home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/kdapl/../mdep/linux/ -I./ -o /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/kdapl/../Obj/dapl_getopt.o -c /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/kdapl/../cmd/dapl_getopt.c
> halr> In file included from /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/cmd/dapl_getopt.c:28:
> halr> /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/include/dapl_proto.h:36:22: dat/udat.h: No such file or directory
> halr> In file included from /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/include/dapl_proto.h:56,
> halr>                  from /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/cmd/dapl_getopt.c:28:
> halr> /home/hal/openib/utils/src/linux-kernel/kdapl/dapltest/include/dapl_bpool.h:51: parse error before "DAT_LMR_CONTEXT"
> halr> 
> halr> and other similar errors
> halr> 
> halr> -- Hal
> halr> 




More information about the general mailing list