Unable to compile uuid_libuuid.cc

Diego Woitasen diego at woitasen.com.ar
Tue Sep 20 15:42:47 PDT 2011


On Tue, Sep 20, 2011 at 7:31 PM, Eddy Higgins
<eddy.higgins at altobridge.com> wrote:
> I'm getting a compilation error on Ubuntu 10.10. Am I doing something wrong?
>
>
> --8<----- tail end of make output --- 8<-------
> make[3]: Entering directory
> `/opt/tmp/wanproxy/event/example/uuid-generate-speed1'
> g++ -I../../.. -Wno-deprecated -include common/common.h -pipe -O -g -W -Wall
> -Werror -Wno-system-headers -Wno-uninitialized -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
> -Wunused-parameter -Wchar-subscripts -Wreorder -c -o uuid_libuuid.o
> ../../../common/uuid/uuid_libuuid.cc
> ../../../common/uuid/uuid_libuuid.cc:1: fatal error: uuid/uuid.h: No such
> file or directory
> compilation terminated.
> make[3]: *** [uuid_libuuid.o] Error 1
> make[3]: Leaving directory
> `/opt/tmp/wanproxy/event/example/uuid-generate-speed1'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/tmp/wanproxy/event/example'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/tmp/wanproxy/event'
> make: *** [all] Error 2
> wanproxy$ uname -a
> Linux alto08 2.6.35-30-generic-pae #59-Ubuntu SMP Tue Aug 30 16:16:14 UTC
> 2011 i686 GNU/Linux
> wanproxy$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=10.10
> DISTRIB_CODENAME=maverick
> DISTRIB_DESCRIPTION="Ubuntu 10.10"
>
> ---8<-----------------8<----------
> Any help greatly appreciated.
> Regards
> Eddy
>
> _______________________________________________
> wanproxy mailing list
> wanproxy at lists.wanproxy.org
> http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org
>
>

apt-get install uuid-dev

And try again :)

Regards,
 Diego

-- 
Diego Woitasen



More information about the wanproxy mailing list