[openib-general] Why doesn't the 24-kernel actually compile on 2.4 kernels?
Stephen Poole
Thu Apr 1 18:34:39 PST 2004
I would be glad to put the 2.4.25 version (under RH 9.0) out on the
site, if someone else would like to have a go at it.
Steve...
>Roland Dreier wrote:
>
>> Mike> After a build, with various compile fixes, without ipoib,
>> Mike> the modules have undefined symbols:
>>
>> Mike> /lib/modules/2.4.25/kernel/drivers/infiniband/core/ib_services.o:
>> Mike> unresolved symbol set_user_nice
>>
>>Hmm... looks like newer kernels don't have set_user_nice. For basic
>>testing you can just delete the call to set_user_nice in
>>services_thread.c (or change it to an assignment to current->nice I guess?).
>>
>I'll poke at it and see what I get.
>
>> Mike> EXTRA_FLAGS does include -DIN_TREE_BUILD... but don't seem
>> Mike> to make it into the compile line since I don't see how they
>> Mike> would ever be included. Here's the Makefile in ulp/ipoib:
>>
>> Mike> EXTRA_CFLAGS += \
>> Mike> -I$(TOPDIR)/drivers/infiniband/include \
>> Mike> #-DRHEL_ROUTE_FLOW_API \
>> Mike> -DIN_TREE_BUILD \
>> Mike> -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
>>
>>This one is your fault I think :) Putting that "#" in the front of a
>>line in the middle of a variable assignment causes make to ignore the
>>rest of the assignment (since it skips the "\" at the end of the line
>>as part of the comment). Better to just delete the
>>-DRHEL_ROUTE_FLOW_API line.
>>
>Yep, that was it.
>-Mike
>
>--
>To unsubscribe send an email with subject unsubscribe to
>openib-general at openib.org.
>Please contact moderator at openib.org for questions.
--
Steve Poole (spoole at lanl.gov)
Office:
Los Alamos National Laboratory
Office:
CCN - Special Projects / Advanced Development Fax:
--
To unsubscribe send an email with subject unsubscribe to openib-general at openib.org.
Please contact moderator at openib.org for questions.
More information about the openib-general mailing list