This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpm: RPM should not be used directly install RPM packages, use Alien instead! | |
rpm: However assuming you know what you are doing... | |
error: Failed dependencies: | |
/bin/bash is needed by ibutils-1.5.7-1.x86_64 | |
/bin/sh is needed by ibutils-1.5.7-1.x86_64 | |
/usr/bin/perl is needed by ibutils-1.5.7-1.x86_64 | |
libc.so.6()(64bit) is needed by ibutils-1.5.7-1.x86_64 | |
libc.so.6(GLIBC_2.2.5)(64bit) is needed by ibutils-1.5.7-1.x86_64 | |
libc.so.6(GLIBC_2.3.4)(64bit) is needed by ibutils-1.5.7-1.x86_64 | |
libc.so.6(GLIBC_2.7)(64bit) is needed by ibutils-1.5.7-1.x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make | |
!!!!!pkgs/linux-image!!!!!!! | |
dpkg-buildpackage -rfakeroot -D -us -uc -i -b -nc | |
dpkg-buildpackage: warning: using a gain-root-command while being root | |
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 | |
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): | |
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 | |
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 | |
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule | awk '{ print $NF }' | xargs -n 1 -i git submodule update --init {} | |
Submodule 'pkgs/conntrack-tools' (https://github.com/vyos/conntrack-tools.git) registered for path 'pkgs/conntrack-tools' | |
Cloning into pkgs/conntrack-tools... | |
remote: Counting objects: 6001, done. | |
remote: Compressing objects: 100% (1454/1454), done. | |
remote: Total 6001 (delta 4495), reused 6001 (delta 4495) | |
Receiving objects: 100% (6001/6001), 1.62 MiB | 575 KiB/s, done. | |
Resolving deltas: 100% (4495/4495), done. | |
Submodule path 'pkgs/conntrack-tools': checked out 'fa0e506210775233cb34513d45878991ef50aae6' | |
Submodule 'pkgs/ec2-ami-tools' (https://github.com/vyos/ec2-ami-tools.git) registered for path 'pkgs/ec2-ami-tools' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -d pkgs/* | grep -v 'ec2' | grep -v linux-image | xargs -i -n 1 git submodule update --init {} | |
pkgs=$( find pkgs -maxdepth 1 -type d -print | \ | |
grep -v 'ec2' | grep -v linux-image | \ | |
awk -F/ 'NR > 1{ print $NF }' | sort ) | |
for i in $pkgs ; do | |
echo -n "$i: " | |
make $i > $i.log 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make -k -C /path/to/build-iso/pkgs/linux-image/debian/linux-vyatta-kbuild/usr/src/linux-image/debian/build/build-amd64-none-amd64-vyos M=`pwd` modules | |
make: Entering directory `/path/to/build-iso/pkgs/linux-image/debian/linux-vyatta-kbuild/usr/src/linux-image/debian/build/build-amd64-none-amd64-vyos' | |
CC [M] /path/to/pib/driver/pib_main.o | |
/path/to/pib/driver/pib_main.c: In function ‘init_port’: | |
/path/to/pib/driver/pib_main.c:644: error: ‘IB_SPEED_QDR’ undeclared (first use in this function) | |
/path/to/pib/driver/pib_main.c:644: error: (Each undeclared identifier is reported only once | |
/path/to/pib/driver/pib_main.c:644: error: for each function it appears in.) | |
make[1]: *** [/path/to/pib/driver/pib_main.o] Error 1 | |
CC [M] /path/to/pib/driver/pib_mad.o | |
/path/to/pib/driver/pib_mad.c: In function ‘process_subn’: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make -C /path/to/build-iso/pkgs/linux-image/debian/build/build-amd64-none-amd64-vyos M=`pwd` modules | |
make: Entering directory `/path/to/build-iso/pkgs/linux-image/debian/build/build-amd64-none-amd64-vyos' | |
CC [M] /path/to/pib/driver/pib_main.o | |
CC [M] /path/to/pib/driver/pib_dma.o | |
CC [M] /path/to/pib/driver/pib_lib.o | |
CC [M] /path/to/pib/driver/pib_ucontext.o | |
CC [M] /path/to/pib/driver/pib_pd.o | |
CC [M] /path/to/pib/driver/pib_qp.o | |
CC [M] /path/to/pib/driver/pib_multicast.o | |
CC [M] /path/to/pib/driver/pib_cq.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set system package repository wheezy components 'main contrib non-free' | |
set system package repository wheezy distribution 'wheezy' | |
set system package repository wheezy url 'http://ftp.riken.jp/Linux/debian/' |
apt-get install autoconf automake libtool
dpkg -i libibverbs-dev_1.1.6-1_amd64.deb libibverbs1_1.1.6-1_amd64.deb
apt-get source librdmacm
cd librdmacm-1.0.15
dpkg -i librdmacm-dev_1.0.15-1+deb7u1_amd64.deb librdmacm1_1.0.15-1+deb7u1_amd64.deb
apt-get source libibcommon
cd libibcommon-1.1.2-20090314