You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/10/03 00:43:42 UTC
[jira] [Resolved] (MESOS-717) tests/script.cpp:47:164: error: ‘ARG_MAX’ was not declared in this scope
[ https://issues.apache.org/jira/browse/MESOS-717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Mahler resolved MESOS-717.
-----------------------------------
Resolution: Fixed
Fixed on master:
commit d8da5f4d17d3a673beb5b76d0a7370bdda99c51d
Author: Benjamin Mahler <bm...@twitter.com>
Date: Wed Oct 2 15:39:28 2013 -0700
Fixed ARG_MAX compilation issue on some POSIX systems.
> tests/script.cpp:47:164: error: ‘ARG_MAX’ was not declared in this scope
> ------------------------------------------------------------------------
>
> Key: MESOS-717
> URL: https://issues.apache.org/jira/browse/MESOS-717
> Project: Mesos
> Issue Type: Bug
> Reporter: Vinson Lee
> Assignee: Benjamin Mahler
> Priority: Blocker
>
> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.15.0\" -DPACKAGE_STRING=\"mesos\ 0.15.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.15.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -DHAVE_LIBSASL2=1 -I. -Wall -Werror -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" -DPKGDATADIR=\"/usr/local/share/mesos\" -I../include -I../3rdparty/libprocess/include -I../3rdparty/libprocess/3rdparty/stout/include -I../include -I../3rdparty/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/zookeeper-3.3.4/src/c/include -I../3rdparty/zookeeper-3.3.4/src/c/generated -DSOURCE_DIR=\"<http://192.168.122.2:8080/job/mesos-fedora-18-gcc/ws/"> -DBUILD_DIR=\"<http://192.168.122.2:8080/job/mesos-fedora-18-gcc/ws/"> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60.x86_64/include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60.x86_64/include/linux -DZOOKEEPER_VERSION=\"3.3.4\" -pthread -g -g2 -O2 -MT tests/mesos_tests-script.o -MD -MP -MF tests/.deps/mesos_tests-script.Tpo -c -o tests/mesos_tests-script.o `test -f 'tests/script.cpp' || echo './'`tests/script.cpp
> tests/script.cpp: In function ‘void mesos::internal::tests::execute(const string&, const std::vector<std::basic_string<char> >&)’:
> tests/script.cpp:47:164: error: ‘ARG_MAX’ was not declared in this scope
--
This message was sent by Atlassian JIRA
(v6.1#6144)