baidu / baidu/unit-dmkit

编译brpc报错

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
321
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Building brpc...
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:9 (option):
Syntax error in cmake code at

/usr/local/hanyang/unit-dmkit-master/brpc/CMakeLists.txt:9

when parsing string

Download and build a fresh copy of \
googletest. Requires Internet access.

syntax error, unexpected cal_SYMBOL, expecting $end (102)

-- Configuring incomplete, errors occurred!
See also "/usr/local/hanyang/unit-dmkit-master/brpc/_build/CMakeFiles/CMakeOutput.log".
make: *** 没有指明目标并且找不到 makefile。 停止。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with brpc/CMakeLists.txt at line 9 and inspect the option declaration around the reported string syntax error. Re-run the CMake configure step that produced the log, then verify that configuration completes and a Makefile is generated without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.