Summary: | loader.c:353:8: error: implicit declaration of function 'geteuid' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | eric, nhaehnle |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | always include unistd.h |
Description
Vinson Lee
2017-02-07 00:43:23 UTC
Created attachment 129378 [details] [review] always include unistd.h The attached patch might fix this. Out of curiosity, what kind of configuration are you building for? (In reply to Nicolai Hähnle from comment #1) > Created attachment 129378 [details] [review] [review] > always include unistd.h > For the patch Reviewed-by: Emil Velikov <emil.velikov@collabora.com> > The attached patch might fix this. > > Out of curiosity, what kind of configuration are you building for? Second that. Vinson can you get some info about your platforms + configure permutations somewhere in a single place. Having the build log(s) would be amazing ;-) Applied attachment 129378 [details] [review]. The build still fails. $ ./autogen.sh --disable-egl --disable-gbm --disable-dri --with-dri-drivers=swrast --with-gallium-drivers=swrast $ make [...] CC libloader_la-loader.lo loader.c: In function ‘loader_get_driver_for_fd’: loader.c:355: error: implicit declaration of function ‘getenv’ Should be resolved with commit de6e6a347dd12c079a098f3f3095394eed326166 Author: Nicolai Hähnle <nicolai.haehnle@amd.com> Date: Tue Feb 7 08:43:09 2017 +0100 loader: unconditionally include unistd.h and stdlib.h |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.