[ros-dev] Re : Fedora 13 Build Error
Sylvain Petreolle
spetreolle at yahoo.fr
Wed Jul 28 22:27:36 UTC 2010
Hi James,
reactos has now officially 2 fedora 13 users ;)
Since noone notified until today, not even the unix buildbot,
Im building reactos using the same kind of fix since months.
Feel free to commit.
Kind regards,
Sylvain Petreolle
----- Message d'origine ----
> De : James Tabor <jimtabor.rosdev at gmail.com>
> À : ReactOS Development List <ros-dev at reactos.org>
> Envoyé le : Mar 27 juillet 2010, 5h 48min 54s
> Objet : [ros-dev] Fedora 13 Build Error
>
> I ran into this on Fedora 13,
>
> [HOST-CC] tools/cabman/cabinet.cxx
> tools/cabman/cabinet.cxx: In member function ‘bool
> CCabinet::CreateSimpleCabinet()’:
> tools/cabman/cabinet.cxx:2177: error: no matching function for call to
> ‘stat::stat(char [260], stat*)’
> /usr/include/bits/stat.h:40: note: candidates are: stat::stat()
> /usr/include/bits/stat.h:40: note: stat::stat(const stat&)
>
> from http://code.google.com/p/libproxy/issues/detail?id=122 the patch
> is based on this;
>
>http://code.google.com/p/libproxy/issues/attachmentText?id=122&aid=2002375034865556637&name=fix_fedora_13_build.patch&token=8817da5d966f54916b41556ec0ec1722
>
>
>
> Index: tools/cabman/cabinet.cxx
> ===================================================================
> --- - tools/cabman/cabinet.cxx (revision 48297)
> +++ tools/cabman/cabinet.cxx (working copy)
> @@ -21,7 +21,8 @@
> #if !defined(WIN32)
> # include <dirent.h>
> #endif
> -#if defined(__FreeBSD__) || defined(__APPLE__)
> +#if !defined(WIN32) || defined(__FreeBSD__) || defined(__APPLE__)
> +# include <sys/types.h>
> # include <sys/stat.h>
> #endif // __FreeBSD__
> #include "cabinet.h"
>
> Not sure this is right, so~ posted here for fast review and fix,
> James
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
More information about the Ros-dev
mailing list