Skip to content

centos 64上编译的问题 #1

@xinqiyang

Description

@xinqiyang

[root@centos clib]# make
Compiling uuid.c ...
uuid.o
ld -shared -fpic -luuid -o libuuidx.so uuid.o
ld: uuid.o: relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
uuid.o: could not read symbols: Bad value
make: *** [all] 错误 1

貌似这个在centos64上无法编译,这个咋个解决? 新手...望大牛知道,谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions