Skip to content

Instantly share code, notes, and snippets.

#
# Configuration variables
#
EXECUTABLE = nesalizer
# Separate build directory
BUILD_DIR = build
ifeq ($(origin CXX), default)
CXX = g++
endif
Linking build/nesalizer
/home/local/ISDADS/sgs548/src/serenity/Toolchain/Local/lib/gcc/i686-pc-serenity/8.3.0/../../../../i686-pc-serenity/bin/ld: ../../SDL2/SDL-master-serenity/libSDL2.a(SDL_serenityvideo.cpp.obj):(.rodata._ZTI17SerenitySDLWidget[_ZTI17SerenitySDLWidget]+0x8): undefined reference to `typeinfo for GWidget'
collect2: error: ld returned 1 exit status
Makefile:143: recipe for target 'build/nesalizer' failed
make: *** [build/nesalizer] Error 1
Linking build/nesalizer
/home/local/ISDADS/sgs548/src/serenity/Toolchain/Local/lib/gcc/i686-pc-serenity/8.3.0/../../../../i686-pc-serenity/bin/ld: ../../SDL2/SDL-master-serenity/libSDL2.a(SDL_serenityvideo.cpp.obj): in function `SERENITY_VideoInit(SDL_VideoDevice*)':
SDL_serenityvideo.cpp:(.text+0x156): undefined reference to `GApplication::GApplication(int, char**)'
/home/local/ISDADS/sgs548/src/serenity/Toolchain/Local/lib/gcc/i686-pc-serenity/8.3.0/../../../../i686-pc-serenity/bin/ld: ../../SDL2/SDL-master-serenity/libSDL2.a(SDL_serenityvideo.cpp.obj): in function `SERENITY_VideoQuit(SDL_VideoDevice*)':
SDL_serenityvideo.cpp:(.text+0x24b): undefined reference to `GApplication::~GApplication()'
/home/local/ISDADS/sgs548/src/serenity/Toolchain/Local/lib/gcc/i686-pc-serenity/8.3.0/../../../../i686-pc-serenity/bin/ld: ../../SDL2/SDL-master-serenity/libSDL2.a(SDL_serenityvideo.cpp.obj): in function `SerenitySDLWidget::SerenitySDLWidget(SDL_Window*, GWidget*)':
SDL_serenityvideo.cpp:(.text+0x278): undefined refe
In file included from src/timing.cpp:1:
src/timing.cpp: In function 'void init_timing()':
src/timing.cpp:42:33: error: 'CLOCK_MONOTONIC' was not declared in this scope
errno_fail_if(clock_gettime(CLOCK_MONOTONIC, &clock_previous) == -1,
^~~~~~~~~~~~~~~
include/common.h:170:9: note: in definition of macro 'errno_fail_if'
if (condition) \
^~~~~~~~~
src/timing.cpp:42:19: error: 'clock_gettime' was not declared in this scope
errno_fail_if(clock_gettime(CLOCK_MONOTONIC, &clock_previous) == -1,
$ sudo ./run
WARNING: Image format was not specified for '_disk_image' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
CPU Reset (CPU 0)
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
EIP=00000000 EFL=00000000 [-------] CPL=0 II=0 A20=0 SMM=0 HLT=0
ES =0000 00000000 00000000 00000000
CS =0000 00000000 00000000 00000000
year: 2019, month: 9, day: 30
PIC(i8259): cascading mode, vectors 0x50-0x58
PS2MouseDevice: Device detected
PS2MouseDevice: Mouse wheel enabled!
SB16: sb not readyVC: Switch to 0 (0x00184170)
Starting Serenity Operating System...
MM: Multiboot mmap: base_addr = 0x000000000, length = 0x00009fc00, type = 0x1
MM: Multiboot mmap: base_addr = 0x00009fc00, length = 0x000000400, type = 0x2
MM: Multiboot mmap: base_addr = 0x0000e6000, length = 0x00001a000, type = 0x2
MM: Multiboot mmap: base_addr = 0x000100000, length = 0x01fd30000, type = 0x1
# lxc network show lxdbr0
config:
ipv4.address: 10.102.164.1/24
ipv4.nat: "true"
ipv6.address: none
ipv6.nat: "false"
description: ""
name: lxdbr0
type: bridge
used_by:
lxc network show lxdbr0
config:
ipv4.address: 10.102.164.1/24
ipv4.nat: "true"
ipv6.address: none
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/containers/natural-scorpion
$ mediainfo 01Sheburiel.wav
General
Complete name : 01Sheburiel.wav
Format : Wave
File size : 47.8 MiB
Duration : 4 min 44 s
Overall bit rate mode : Constant
Overall bit rate : 1 411 kb/s
Audio
DHCP routes (working):
$ ip route
default via 146.87.65.1 dev enp4s0f0 proto dhcp src 146.87.65.29 metric 100
146.87.65.0/24 dev enp4s0f0 proto kernel scope link src 146.87.65.29
146.87.65.1 dev enp4s0f0 proto dhcp scope link src 146.87.65.29 metric 100
Cuurent non-working static config:
network: