Skip to content

centos7安装错误,提示如下 #40

Description

@mysoft999

编译条件已满足!
开始编译源码...

make all-recursive
make[1]: 进入目录“/root/xrdp”
Making all in common
make[2]: 进入目录“/root/xrdp/common”
CC base64.lo
CC fifo.lo
CC file.lo
CC guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
struct guid guid = {0};
^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[2]: *** [guid.lo] 错误 1
make[2]: 离开目录“/root/xrdp/common”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/root/xrdp”
make: *** [all] 错误 2
Making install in common
make[1]: 进入目录“/root/xrdp/common”
CC guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
struct guid guid = {0};
^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[1]: *** [guid.lo] 错误 1
make[1]: 离开目录“/root/xrdp/common”
make: *** [install-recursive] 错误 1
Failed to start xrdp.service: Unit not found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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