[etherlab-users] Error building the mini application

stefan weiser stefan.weiser at komaxgroup.com
Tue Jun 16 13:07:04 CEST 2009


The mini.c file defines the release_lock method at that point. It fails
because the linux kernel 2.6.28 seems to define a macro with that name
(that macro is a "do { ... } while(0);" macro). I stumbled over that on
compiling Etherlab on a 64-bit Ubuntu 9.04 and thought first that it is
a compatibility problem. Insert this before the the declaration:

#ifdef release_lock
	#undef release_lock

This will solve the problem.

This e-mail is for the named person's use only. It may contain confidential and/or privileged information. If you have received this e-mail in error, please notify the sender immediately and delete the material from any system. Any unauthorized copying, disclosure, distribution or other use of this information by persons or entities other than the intended recipient is prohibited.
Thank You.

More information about the Etherlab-users mailing list