Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.1
-
None
-
- Platform: ARM Cortex-A9 (32-bit processor)
- OS: Ubuntu Mate 16.04.4
- gcc version: gcc (Ubuntu/Linaro 5.4.0-6ubuntu1-16.04.4) 5.4.0 201606609
- Memory: 2GB
- swap:12GB
- microSD: 23GB
-
Patch, Important
-
I can not enlarge the Memory size, it only has 2GB, however I can adjust the swap size from External auxiliary storage (32GB microSD), which is mounted to /mnt directory. Finally how to "make" mesos with the 2GB memory and adjustable swap?
Description
-
-
- Warning: Linking the shared library libmesos.la against the
- static library ../3rdparty/leveldb-1.19/out-static/libleveldb.a is not portable!
libtool: link: g++fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/5/crtbeginS.o -Wl,whole-archive ./.libs/libmesos_no_3rdparty.a ../3rdparty/libprocess/.libs/libprocess.a -Wl,-no-whole-archive ../3rdparty/glog-0.3.3/.libs/libglog.a ../3rdparty/leveldb-1.19/out-static/libleveldb.a /mnt/mesos/mesos-1.4.1/build/3rdparty/glog-0.3.3/.libs/libglog.a /mnt/mesos/mesos-1.4.1/build/3rdparty/libev-4.22/.libs/libev.a ../3rdparty/protobuf-3.3.0/src/.libs/libprotobuf.a ../3rdparty/zookeeper-3.4.8/src/c/.libs/libzookeeper_mt.a -lpthread -lz /usr/lib/arm-linux-gnueabihf/libsvn_delta-1.so /usr/lib/arm-linux-gnueabihf/libsvn_subr-1.so -lsasl2 /usr/lib/arm-linux-gnueabihf/libcurl-nss.so /usr/lib/arm-linux-gnueabihf/libapr-1.so -lrt -L/usr/lib/gcc/arm-linux-gnueabihf/5 -L/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/5/../../../../lib -L/lib/arm-linux-gnueabihf -L/lib/../lib -L/usr/lib/arm-linux-gnueabihf -L/usr/lib/../lib -L/usr/lib/gcc/arm-linux-gnueabihf/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabihf/5/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/crtn.o -g1 -O0 -pthread -Wl,-soname -Wl,libmesos-1.4.1.so -o .libs/libmesos-1.4.1.so
/usr/bin/ld: final link failed: Memory exhausted
collect2: error: ld returned 1 exit status
Makefile:3889: recipe for target 'libmesos.la' failed
make[2]: *** [libmesos.la] Error 1
make[2]: Leaving directory '/mnt/mesos/mesos-1.4.1/build/src'
Makefile:3613: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/mnt/mesos/mesos-1.4.1/build/src'
Makefile:773: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
-