Skip to content

Instantly share code, notes, and snippets.

@pdp7
Last active September 9, 2019 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdp7/5725dc215f0524c6c8ef47b988c189f0 to your computer and use it in GitHub Desktop.
Save pdp7/5725dc215f0524c6c8ef47b988c189f0 to your computer and use it in GitHub Desktop.
greybus for iot
greybus of iot
[ 3639.205812] gb_audio_gb: Unknown symbol gb_operation_sync_timeout (err 0)
[ 3639.242827] gb_loopback: Unknown symbol gb_operation_create_flags (err 0)
[ 3639.242851] gb_loopback: Unknown symbol gb_operation_put (err 0)
[ 3639.242875] gb_loopback: Unknown symbol gb_operation_get_payload_size_max (err 0)
[ 3639.242905] gb_loopback: Unknown symbol gb_connection_disable (err 0)
[ 3639.242987] gb_loopback: Unknown symbol gb_connection_create (err 0)
[ 3639.243118] gb_loopback: Unknown symbol gb_operation_response_alloc (err 0)
[ 3639.243144] gb_loopback: Unknown symbol gb_connection_enable (err 0)
[ 3639.243177] gb_loopback: Unknown symbol gb_operation_result (err 0)
[ 3639.243200] gb_loopback: Unknown symbol gb_operation_request_send_sync_timeout (err 0)
[ 3639.243225] gb_loopback: Unknown symbol gb_connection_destroy (err 0)
[ 3639.243249] gb_loopback: Unknown symbol greybus_deregister_driver (err 0)
[ 3639.243271] gb_loopback: Unknown symbol greybus_register_driver (err 0)
[ 3639.243298] gb_loopback: Unknown symbol gb_operation_request_send (err 0)
[ 3639.243342] gb_loopback: Unknown symbol gb_connection_latency_tag_enable (err 0)
[ 3639.243366] gb_loopback: Unknown symbol gb_connection_latency_tag_disable (err 0)
[ 3639.293620] greybus: registered new driver log
[ 3639.306005] gb_usb: Unknown symbol gb_gbphy_deregister_driver (err 0)
[ 3639.306038] gb_usb: Unknown symbol gb_gbphy_register_driver (err 0)
[ 3639.339352] gb_gpio: Unknown symbol gb_gbphy_deregister_driver (err 0)
[ 3639.339395] gb_gpio: Unknown symbol gb_gbphy_register_driver (err 0)
[ 3639.377763] gb_spi: Unknown symbol gb_spilib_master_exit (err 0)
[ 3639.377797] gb_spi: Unknown symbol gb_spilib_master_init (err 0)
[ 3639.377830] gb_spi: Unknown symbol gb_gbphy_deregister_driver (err 0)
[ 3639.377861] gb_spi: Unknown symbol gb_gbphy_register_driver (err 0)
[ 3639.433531] gb_firmware: Unknown symbol gb_spilib_master_exit (err 0)
[ 3639.433588] gb_firmware: Unknown symbol gb_spilib_master_init (err 0)
[ 3639.461652] greybus: registered new driver power_supply
[ 3639.475206] greybus: registered new driver gbphy
[ 3639.489200] usbcore: registered new interface driver es2_ap_driver
[ 3639.503656] greybus: registered new driver bootrom
[ 3639.517671] greybus: registered new driver vibrator
[ 3639.531605] greybus: registered new driver raw
[ 3639.545930] gb_gbphy: registered new driver pwm
[ 3639.558745] gb_gbphy: registered new driver sdio
[ 3639.572310] gb_gbphy: registered new driver uart
[ 3639.586099] greybus: registered new driver hid
[ 3639.627413] gb_gbphy: registered new driver i2c
[ 3639.657195] greybus: registered new driver loopback
[ 3639.670750] gb_gbphy: registered new driver usb
[ 3639.683410] gb_gbphy: registered new driver gpio
[ 3639.705528] greybus: registered new driver gb-firmware
pdp7@sp3:~/dev/lisboa/greybus$
pdp7@sp3:~/dev/lisboa/greybus$ cd ..
pdp7@sp3:~/dev/lisboa$ git clone https://github.com/cfriedt/pygbmodule
Cloning into 'pygbmodule'...
remote: Enumerating objects: 59, done.
remote: Counting objects: 100% (59/59), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 59 (delta 32), reused 57 (delta 30), pack-reused 0
Unpacking objects: 100% (59/59), done.
pdp7@sp3:~/dev/lisboa$ cd gbridge
pdp7@sp3:~/dev/lisboa/gbridge$ GBDIR="${PWD}/../greybus" ./configure
bash: ./configure: No such file or directory
pdp7@sp3:~/dev/lisboa/gbridge$ autoreconf -vi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:10: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
pdp7@sp3:~/dev/lisboa/gbridge$ GBDIR="${PWD}/../greybus" ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for nl_socket_alloc in -lnl-3... no
checking for genl_register_family in -lnl-genl-3... no
checking for pthread_create in -lpthread... yes
checking for main in -lavahi-common... no
checking for main in -lavahi-client... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SSL... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
pdp7@sp3:~/dev/lisboa/gbridge$ make -j
make all-am
make[1]: Entering directory '/home/pdp7/dev/lisboa/gbridge'
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -MT gbridge-main.o -MD -MP -MF .deps/gbridge-main.Tpo -c -o gbridge-main.o `test -f 'main.c' || echo './'`main.c
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -MT gbridge-debug.o -MD -MP -MF .deps/gbridge-debug.Tpo -c -o gbridge-debug.o `test -f 'debug.c' || echo './'`debug.c
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -MT gbridge-greybus.o -MD -MP -MF .deps/gbridge-greybus.Tpo -c -o gbridge-greybus.o `test -f 'greybus.c' || echo './'`greybus.c
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -MT gbridge-controller.o -MD -MP -MF .deps/gbridge-controller.Tpo -c -o gbridge-controller.o `test -f 'controller.c' || echo './'`controller.c
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -MT protocols/gbridge-svc.o -MD -MP -MF protocols/.deps/gbridge-svc.Tpo -c -o protocols/gbridge-svc.o `test -f 'protocols/svc.c' || echo './'`protocols/svc.c
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
mv -f .deps/gbridge-debug.Tpo .deps/gbridge-debug.Po
mv -f .deps/gbridge-main.Tpo .deps/gbridge-main.Po
mv -f .deps/gbridge-greybus.Tpo .deps/gbridge-greybus.Po
mv -f protocols/.deps/gbridge-svc.Tpo protocols/.deps/gbridge-svc.Po
mv -f .deps/gbridge-controller.Tpo .deps/gbridge-controller.Po
gcc -Wall -Werror -I/home/pdp7/dev/lisboa/gbridge/../greybus `pkg-config --cflags libnl-3.0 libnl-genl-3.0` `pkg-config --cflags bluez` -g -O2 -o gbridge gbridge-main.o gbridge-debug.o gbridge-greybus.o gbridge-controller.o protocols/gbridge-svc.o -lpthread
Package libnl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-3.0' found
Package libnl-genl-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnl-genl-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnl-genl-3.0' found
Package bluez was not found in the pkg-config search path.
Perhaps you should add the directory containing `bluez.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bluez' found
gbridge-main.o: In function `main':
/home/pdp7/dev/lisboa/gbridge/main.c:104: undefined reference to `pkauth_set_timeout_ms'
/home/pdp7/dev/lisboa/gbridge/main.c:129: undefined reference to `pkauth_init_from'
collect2: error: ld returned 1 exit status
Makefile:447: recipe for target 'gbridge' failed
make[1]: *** [gbridge] Error 1
make[1]: Leaving directory '/home/pdp7/dev/lisboa/gbridge'
Makefile:321: recipe for target 'all' failed
make: *** [all] Error 2
pdp7@sp3:~/dev/lisboa/gbridge$
@pdp7
Copy link
Author

pdp7 commented Sep 9, 2019

@pdp7
Copy link
Author

pdp7 commented Sep 9, 2019

pdp7@sp3:~/dev/lisboa/gbridge$ sudo apt install libnl-3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kicad-demos libgl2ps1 libnewlib-arm-none-eabi libnewlib-dev liboce-foundation10 liboce-modeling10 liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10
  libssl-doc libstdc++-arm-none-eabi-newlib python3-wxgtk4.0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libnl-3-dev
0 upgraded, 1 newly installed, 0 to remove and 404 not upgraded.
Need to get 90.6 kB of archives.
After this operation, 608 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libnl-3-dev amd64 3.2.29-0ubuntu3 [90.6 kB]
Fetched 90.6 kB in 1s (149 kB/s)     
Selecting previously unselected package libnl-3-dev:amd64.
(Reading database ... 606061 files and directories currently installed.)
Preparing to unpack .../libnl-3-dev_3.2.29-0ubuntu3_amd64.deb ...
Unpacking libnl-3-dev:amd64 (3.2.29-0ubuntu3) ...
Setting up libnl-3-dev:amd64 (3.2.29-0ubuntu3) ...
pdp7@sp3:~/dev/lisboa/gbridge$ 


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment