Bwm-ng FreeBSD 10
Romaryo L. Ricardo
romaryo at anid.com.br
Tue May 6 14:50:54 UTC 2014
Hello Mark,
I tried both: "make && make install" and "pkg", also tried install "make MAKE_JOBS_UNSAFE=yes"; none of them works.
Bellow, there are the results:
1. "make && make install":
===> Building for bwm-ng-0.6
--- all ---
/usr/bin/make all-recursive
--- all-recursive ---
Making all in src
--- bwm-ng ---
cc -O2 -pipe -fno-strict-aliasing -Wno-long-long -o bwm-ng bwm-ng.o process.o output.o options.o help.o curses_tools.o retrieve.o getifaddrs.o sysctl.o devstat.o -lcurses -L/usr/local/lib -lstatgrab -ldevstat -ldevstat
bwm-ng.o: In function `main':
bwm-ng.c:(.text+0x31f): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x46a): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x580): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x5cb): undefined reference to `get_iface_stats'
output.o: In function `values2str':
output.c:(.text+0x1044): undefined reference to `dyn_byte_value2str'
curses_tools.o: In function `handle_gui_input':
curses_tools.c:(.text+0xcf): undefined reference to `get_iface_stats'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [bwm-ng] Error code 1
make[3]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/src
1 error
make[3]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/src
*** [all-recursive] Error code 1
make[2]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
1 error
make[2]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
*** [all] Error code 2
make[1]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
1 error
make[1]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/bwm-ng
2. "pkg install bwm-ng"
Updating repository catalogue
pkg: No packages matching 'bwm-ng' available in the repositories
3."make MAKE_JOBS_UNSAFE=yes"
===> Building for bwm-ng-0.6
/usr/bin/make all-recursive
Making all in src
cc -O2 -pipe -fno-strict-aliasing -Wno-long-long -o bwm-ng bwm-ng.o process.o output.o options.o help.o curses_tools.o retrieve.o getifaddrs.o sysctl.o devstat.o -lcurses -L/usr/local/lib -lstatgrab -ldevstat -ldevstat
bwm-ng.o: In function `main':
bwm-ng.c:(.text+0x31f): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x46a): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x580): undefined reference to `get_iface_stats'
bwm-ng.c:(.text+0x5cb): undefined reference to `get_iface_stats'
output.o: In function `values2str':
output.c:(.text+0x1044): undefined reference to `dyn_byte_value2str'
curses_tools.o: In function `handle_gui_input':
curses_tools.c:(.text+0xcf): undefined reference to `get_iface_stats'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6/src
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net-mgmt/bwm-ng/work/bwm-ng-0.6
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/bwm-ng
----- Mensagem original -----
De: "Mark Saad" <nonesuch at longcount.org>
Para: "Romaryo L. Ricardo" <romaryo at anid.com.br>
Cc: freebsd-amd64 at freebsd.org
Enviadas: Terça-feira, 6 de maio de 2014 9:58:57
Assunto: Re: Bwm-ng FreeBSD 10
> On May 6, 2014, at 7:41 AM, "Romaryo L. Ricardo" <romaryo at anid.com.br> wrote:
>
> Hello Mark,
>
> I tried built it with: "make install cleanMAKE_JOBS_UNSAFE=yes";
Can you try "make && make install"
Also the depends for this port were they built with MAKE_JOBS_UNSAFE=yes or did you install them via pkg ?
> but
> previous I applied the command: "portsnap fetch extract && portsnap
> fetch update"
>
> Right bellow, the repository, the result of the cat in the file "cat
> /etc/pkg/FreeBSD.conf":
>
> # $FreeBSD: release/10.0.0/etc/pkg/FreeBSD.conf 258710 2013-11-28
> 14:24:26Z gjb $
> FreeBSD: {
> url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
>
> Thanks!
>
Mark saad | mark.saad at longcount.org
More information about the freebsd-amd64
mailing list