Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf #192

Closed
liwei-ch opened this issue Feb 4, 2015 · 2 comments
Closed

protobuf #192

liwei-ch opened this issue Feb 4, 2015 · 2 comments

Comments

@liwei-ch
Copy link

liwei-ch commented Feb 4, 2015

make[2]: Entering directory `/home/s/safe/protobuf3/src'
depbase=`echo google/protobuf/stubs/atomicops_internals_x86_gcc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
    if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/stubs/atomicops_internals_x86_gcc.lo -MD -MP -MF "$depbase.Tpo" -c -o google/protobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_gcc.cc; \
    then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
../libtool: line 865: X--tag=CXX: command not found
../libtool: line 898: libtool: ignoring unknown tag : command not found
../libtool: line 865: X--mode=compile: command not found
../libtool: line 1031: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1032: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1175: Xg++: command not found
../libtool: line 1175: X-DHAVE_CONFIG_H: command not found
../libtool: line 1175: X-I.: command not found
../libtool: line 1175: X-I.: command not found
../libtool: line 1175: X-I..: command not found
../libtool: line 1175: X-pthread: command not found
../libtool: line 1175: X-Wall: command not found
../libtool: line 1175: X-Wwrite-strings: command not found
../libtool: line 1175: X-Woverloaded-virtual: command not found
../libtool: line 1175: X-Wno-sign-compare: command not found
../libtool: line 1175: X-O2: command not found
../libtool: line 1175: X-g: command not found
../libtool: line 1175: X-DNDEBUG: command not found
../libtool: line 1175: X-MT: command not found
../libtool: line 1175: Xgoogle/protobuf/stubs/atomicops_internals_x86_gcc.lo: No such file or directory
../libtool: line 1175: X-MD: command not found
../libtool: line 1175: X-MP: command not found
../libtool: line 1175: X-MF: command not found
../libtool: line 1175: Xgoogle/protobuf/stubs/.deps/atomicops_internals_x86_gcc.Tpo: No such file or directory
../libtool: line 1175: X-c: command not found
../libtool: line 1227: Xgoogle/protobuf/stubs/atomicops_internals_x86_gcc.lo: No such file or directory
../libtool: line 1232: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [google/protobuf/stubs/atomicops_internals_x86_gcc.lo] 错误 1
make[2]: Leaving directory `/home/s/safe/protobuf3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/s/safe/protobuf3'
make: *** [all] 错误 2
@liwei-ch liwei-ch changed the title probuf protobuf Feb 4, 2015
@liwei-ch
Copy link
Author

liwei-ch commented Feb 4, 2015

at first , call autoreconf occur error:

sudo -u cloud ./autogen.sh 
+ sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g;
           s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/gtest_main-md.vcproj gtest/msvc/gtest_main.vcproj gtest/msvc/gtest-md.vcproj gtest/msvc/gtest_prod_test-md.vcproj gtest/msvc/gtest_prod_test.vcproj gtest/msvc/gtest_unittest-md.vcproj gtest/msvc/gtest_unittest.vcproj gtest/msvc/gtest.vcproj
+ autoreconf -f -i -Wall,no-obsolete
aclocal:configure.ac:56: warning: macro `AM_PROG_AR' not found in library
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
You should update your `aclocal.m4' by running aclocal.
aclocal:configure.ac:56: warning: macro `AM_PROG_AR' not found in library
configure.ac:58: error: possibly undefined macro: AM_PROG_AR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

i remove AM_PROG_AR from configure.ac:56, the error is disappeared. buf new error come out

@liujisi
Copy link
Contributor

liujisi commented Feb 26, 2015

Please provide more info about:

  • autoconf, automake and libtool versions
  • protobuf version
  • commands for the build
  • OS version.

@liujisi liujisi closed this as completed Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants