Tang,

On Sat, 14 Aug 2010 11:07:31 +0800
Tang Jianwei <[email protected]> wrote:

>      I got the errors like this while compiling cluster glue:
> 
> ../.libs/libplumb.so: undefined reference to `uuid_parse'
> ../.libs/libplumb.so: undefined reference to `uuid_generate'
> ../.libs/libplumb.so: undefined reference to `uuid_copy'
> ../.libs/libplumb.so: undefined reference to `uuid_is_null'
> ../.libs/libplumb.so: undefined reference to `uuid_unparse'
> ../.libs/libplumb.so: undefined reference to `uuid_clear'
> ../.libs/libplumb.so: undefined reference to `uuid_compare'


I had the same problem when compiling on an old server that I am unable to 
upgrade (for now); I did
not have this problem on a newer server.

I fixed it by changing the line Libraries line:
 
>    CFLAGS                   = -g -O2 -ggdb3 -O0  -fgnu89-inline 
> -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast 
> -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels 
> -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline 
> -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute 
> -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith 
> -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -Werror
>    Libraries                = -lbz2 -lxml2 -lc -lrt -ldl  -L/lib -lglib-2.0
>    Stack Libraries          =

To:
    Libraries                = -lbz2 -lxml2 -lc -lrt -ldl  -L/lib -lglib-2.0 
/lib/libuuid.so.1


-- 
 Dr. Everett (Skip) Carter      Phone: 831-899-0336 FAX:  831-394-5561
 Taygeta Scientific Inc.        e-mail: [email protected]
 1995 Yosemite St               WWW: http://www.taygeta.com
 Seaside, CA. 93955









_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to