[systemd-devel] Problems with name_to_handle_at

Michael Olbrich m.olbrich at pengutronix.de
Mon Oct 8 09:26:06 PDT 2012


Hi,

compiling the latest systemd fails with:
[...]
src/shared/path-util.c: In function 'path_is_mount_point':
src/shared/path-util.c:348:10: error: dereferencing pointer to incomplete type
src/shared/path-util.c:350:9: warning: implicit declaration of function 'name_to_handle_at' [-Wimplicit-function-declaration]
src/shared/path-util.c:368:10: error: dereferencing pointer to incomplete type
[...]

>From what I can tell the problem is the following:

The configure check for name_to_handle_at is successful because the system
call exists. However, the headers for the used architecture (powerpc) do
not define 'name_to_handle_at()' and 'struct file_handle'.

I'm not sure what to use instead of AC_CHECK_FUNCS.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list