Beta ptitSeb's Beta Lair


Added a new beta of Reicast in front page. This time, I tried to take a few fixes from the Retroarch core. It may improves a few things, and hopefully didn't break anything.
 
Updated codeblocks pnd from 1st post.
I Removed some old gcc libs so the pnd is now "only" 2.1GB, even with vim 8.0.8 (and gvim) and emacs 25.1.2.
 
Another batch of request updates for Codeblocks PND:

Freetype 2.7
sqlite 3.14.2
libpng 1.6.25
openssl 1.0.2i
libjpeg-turbo 1.5.1
git 2.10.0
curl 7.50.3
 
@ptitSeb: For code::blocks, do you ever have trouble unmounting the monoRT/wxPython PNDs?

I am making a PND that manually mounts another PND and runs the executable. After the executable is closed, I try to unmount the second PND but unmounting fails by saying it is still in use.

Launching the second PND using the .desktop icon works just fine, but manually mounting/executing/unmounting seems to cause problems when trying to clean up the fs.

EDIT: Here are the scripts I am running currently. I think I stole a lot from your Code::Blocks scripts, @canseco 's launch script for Qupzilla, and a dmenu-extending script I found on Archwiki.

Code:
#!/bin/bash

pwd=$(pwd)

export PS1='\w\$ '
umask 022

export PATH=$pwd/j4-dmenu-desktop:$pwd/dmenu:$pwd/usr/local/bin/:$pwd/usr/local/lib/surfraw:$PATH
export LD_LIBRARY_PATH=$pwd/usr/lib:$pwd/usr/local/lib:/lib:/usr/lib:$LD_LIBRARY_PATH

if [ ! -d home ];then
    mkdir home
fi

export HOME=$pwd/home
export XDG_DATA_HOME=$pwd/home


if [ ! -d $HOME/Cache ];then
    mkdir $HOME/Cache
fi
if [ ! -d $HOMEConfig ];then
    mkdir $HOME/Config
fi

export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/Cache"
export XDG_CONFIG_HOME="$HOME/Config"

export XDG_DATA_DIRS="$pwd/usr/local/share:/usr/local/share:/usr/share"
export XDG_CONFIG_DIRS="$pwd/usr/local/etc/xdg/:/etc/xdg"


./dmenuWebSearch.sh

Code:
#!/bin/bash

/usr/bin/nohup /usr/pandora/scripts/pnd_run.sh -p "/media/DEDGEDORA/pandora/apps/qupzilla-app.pnd" -m -b "qupzilla-app"

export GTK2_RC_FILES="/home/$USER"

pwd="/mnt/utmp/qupzilla-app"

export LD_LIBRARY_PATH="$pwd/lib":/usr/lib:/lib:$LD_LIBRARY_PATH
export HOME="$pwd/home"
export PATH="$pwd/bin:$PATH"
export XDG_CACHE_HOME="$pwd/home/Cache"
export XDG_CONFIG_HOME="$pwd/home/Config"
export XDG_DATA_DIRS="$pwd/share":XDG_DATA_DIRS
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_SCALE_FACTOR=1
export QT_XKB_CONFIG_ROOT="$pwd/share/X11"
export QTWEBKIT_PLUGIN_PATH="$pwd/plugins"
export QT_PLUGIN_PATH="$pwd/plugins"
export DICPATH="$pwd/share/myspell/dicts"

if [ ! -e $pwd/home ]; then
    echo "no config found. creating default-config"
        mkdir home
        mkdir home/Cache
        mkdir home/Config
        cp -R init/.config $pwd/home
fi

if [ -e $pwd/home/.config/qupzilla/profiles/default/certificates/ca-bundle.crt ]; then
        echo "no certs found, copying"
        rm $pwd/home/.config/qupzilla/profiles/default/certificates/*.crt
fi


    ## requires surfraw, add below to your .bashrc
    ## PATH=/usr/lib/surfraw:${PATH}
    ## default script uses rofi, if you use dmenu just replace "rofi -dmenu" with "dmenu", you can simply mask that line and unmask the next line with dmenu
    ## put your browser command in BROWSER=<-->, defaults to chromium
    ## put your bookmarks & history file in appropriate place, defaults to w3m bookmarks and history file
    ## EXAMPLE
    ## "youtube movie trailers" to search movie trailers ay youtube.com
    ## "youtube.com" to open default youtube page
    ## similarly "google world war 2" , "wiki world war", "aur telegram-bin", "awiki mutt", "pubmed giant cell tumor" etc.

    BROWSER=qupzilla
    BOOKMARKS=~/bookmarks.html
    HISTORY=~/qupzilla/profiles/default/browsedata.db
   
    grep -o 'http[^"]*' $BOOKMARKS > /tmp/bookmarks
    grep -o 'http[^"]*' $HISTORY >> /tmp/bookmarks
    # cat /tmp/bookmarks | rofi -dmenu -location 6 -lines 10 -width 100 -p $BROWSER: > /tmp/x
    cat /tmp/bookmarks | dmenu -p $BROWSER: > /tmp/x
   
    check=$(wc -l < /tmp/x)
    (( check == 0)) && exit

    awk '{ print $1 }' /tmp/x > /tmp/y
    awk '{ print $2, $3, $4, $5, $6, $7, $8 }' /tmp/x > /tmp/z
   
    grep -o http /tmp/x && $BROWSER  $(cat /tmp/x) && exit
    grep -o "www\." /tmp/x && $BROWSER $(cat /tmp/x) && exit
    grep -o "\.com" /tmp/x && $BROWSER $(cat /tmp/x) && exit
    grep -o "\.in" /tmp/x && $BROWSER $(cat /tmp/x) && exit
    grep -o "\.org" /tmp/x && $BROWSER $(cat /tmp/x) && exit

    grep -o awiki /tmp/y && archwiki -browser=$BROWSER $(< /tmp/z) && exit
    grep -o wiki /tmp/y && wikipedia -browser=$BROWSER  $(< /tmp/z) && exit
    grep -o imdb /tmp/y && imdb -browser=$BROWSER $(< /tmp/z) && exit
    grep -o aur /tmp/y && aur -browser=$BROWSER $(< /tmp/z) && exit
    grep -o pkg /tmp/y && archpkg -browser=$BROWSER $(< /tmp/z) && exit
    grep -o google /tmp/y && google -browser=$BROWSER $(< /tmp/z) && exit
    grep -o dict /tmp/y && webster -browser=$BROWSER $(< /tmp/z) && exit
    grep -o dictu /tmp/y && urban -browser=$BROWSER $(< /tmp/z) && exit
    grep -o torrent /tmp/y && piratebay -browser=$BROWSER $(< /tmp/z) && exit
    grep -o pubmed /tmp/y && pubmed -browser=$BROWSER $(< /tmp/z) && exit
    grep -o youtube /tmp/y && youtube -browser=$BROWSER $(< /tmp/z) && exit

    S -browser=$BROWSER $(cat /tmp/x)

sleep 1

unset LD_LIBRARY_PATH
unset HOME
unset PATH
unset XDG_CACHE_HOME
unset XDG_CONFIG_HOME
unset XDG_DATA_DIRS
unset QT_AUTO_SCREEN_SCALE_FACTOR
unset QT_SCALE_FACTOR
unset QT_XKB_CONFIG_ROOT
unset QTWEBKIT_PLUGIN_PATH
unset QT_PLUGIN_PATH
unset DICPATH


/usr/bin/nohup /usr/pandora/scripts/pnd_run.sh -p "/media/DEDGEDORA/pandora/apps/qupzilla-app.pnd" -b "qupzilla-app" -u

sleep 1

All the requirements for surfraw have been compiled and installed into the dmenu PND.
 
Last edited:
unmounting is a bit tricky yes.

there is something strange in dmenuWebSearch.sh. You set pwd is /mnt/tmp/qupzilla-app (fine), but you don't "cd" there, so your if [ ! -e $pwd/home ];then looks suspicious.

instead of using /usr/bin/nohup ... I would suggest to just use
Code:
/usr/pandora/scripts/pnd_run.sh -p "/media/DEDGEDORA/pandora/apps/qupzilla-app.pnd" -b "qupzilla-app" -u &
and exit, to let the umount in background.
Also, I like to test if the mount exist before mounting, so I don't try to umount at the end if it was mounted before (bat that's a personal taste)
 
Last edited:
Thanks, @ptitSeb. I'll try following your suggestions.
[doublepost=1474918624,1474910001][/doublepost]Your suggestions got me closer.

By using & instead nohup for both mount and unmount, the unmounting occured cleanly. However, dmenu was no longer able to parse bookmarks (location defined in line 48).

This was due to running the mount in the background, and the mount not being finished by the time that dmenu was attempting to grep the bookmarks file.

If I keep the & on the mounting command and simply add a sleep command after the line, then dmenu goes back to parsing bookmarks, but fails to unmount Qupzilla PND.

Therefore, grep seems to be somehow holding onto the bookmarks file. When I get home from work, I'll try saving the bookmarks file into the dmenu appdata instead of Qupzilla's.
 
yeah, the & in the mount is not a good idea...

About what is holding, maybe you should try some "lsof" to see what's going on.
 
Last edited:
So as it turns out, I simply wasn't running my unmount command as I thought. I was hitting the exit commands in my second script and going back to the first. I simply needed to put my unmount command in the first run script, and now everything works!
 
Hi @ptitSeb : I'm seeing an error with qmake and qmake5 in the new code::blocks that I haven't run into before. Any idea what's going on? When I google it, the solutions suggest QTCreator isn't installed.

Code:
edged-openpandora:/media/DEDGEDORA/downloads/mlite$ make
cd src/ && ( test -e Makefile || /mnt/utmp/codeblocks/qt5/bin/qmake5 /media/DEDGEDORA/downloads/mlite/src/src.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '/media/DEDGEDORA/downloads/mlite/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/media/DEDGEDORA/downloads/mlite/src'
cd tests/ && ( test -e Makefile || /mnt/utmp/codeblocks/qt5/bin/qmake5 /media/DEDGEDORA/downloads/mlite/tests/tests.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '/media/DEDGEDORA/downloads/mlite/tests'
( test -e Makefile.ut_mdesktopentry || /mnt/utmp/codeblocks/qt5/bin/qmake5 /media/DEDGEDORA/downloads/mlite/tests/ut_mdesktopentry.pro -o Makefile.ut_mdesktopentry ) && make -f Makefile.ut_mdesktopentry
make[2]: Entering directory '/media/DEDGEDORA/downloads/mlite/tests'
lrelease -idbased ut_mdesktopentry.ts -qm ut_mdesktopentry.qm
lrelease: could not find a Qt installation of ''
Makefile.ut_mdesktopentry:483: recipe for target 'ut_mdesktopentry.qm' failed
make[2]: *** [ut_mdesktopentry.qm] Error 1
make[2]: Leaving directory '/media/DEDGEDORA/downloads/mlite/tests'
Makefile:44: recipe for target 'sub-ut_mdesktopentry-pro-make_first' failed
make[1]: *** [sub-ut_mdesktopentry-pro-make_first] Error 2
make[1]: Leaving directory '/media/DEDGEDORA/downloads/mlite/tests'
Makefile:69: recipe for target 'sub-tests-make_first' failed
make: *** [sub-tests-make_first] Error 2
[doublepost=1476622589,1476621296][/doublepost]Also, I have another problem that isn't necessarily a new error in the code::blocks beta, just the first time I've tried it. Not sure if this is related. I'm compiling TelepathyQT, and cmake can't seem to find qmake. I've tried passing the environment variables it asks for, but no joy. Could it be switching from bash to sh somewhere along the line? I tried hard coding the path to qt5 and qmake5 in the "findQT.cmake" file, but that didn't seem to change anything.

Code:
edged-openpandora:/media/DEDGEDORA/downloads/telepathy-qt-0/telepathy-qt-0.9.7$ cmake .
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /mnt/utmp/codeblocks/usr/bin/cc
-- Check for working C compiler: /mnt/utmp/codeblocks/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /mnt/utmp/codeblocks/usr/bin/c++
-- Check for working CXX compiler: /mnt/utmp/codeblocks/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden - yes
-- Checking to see if CXX compiler accepts flag -Wdeprecated-declarations
-- Checking to see if CXX compiler accepts flag -Wdeprecated-declarations - yes
-- Performing Test all_cxx_result
-- Performing Test all_cxx_result - Success
-- Performing Test extra_cxx_result
-- Performing Test extra_cxx_result - Success
-- Performing Test sign-compare_cxx_result
-- Performing Test sign-compare_cxx_result - Success
-- Performing Test pointer-arith_cxx_result
-- Performing Test pointer-arith_cxx_result - Success
-- Performing Test format-security_cxx_result
-- Performing Test format-security_cxx_result - Success
-- Performing Test init-self_cxx_result
-- Performing Test init-self_cxx_result - Success
-- Performing Test non-virtual-dtor_cxx_result
-- Performing Test non-virtual-dtor_cxx_result - Success
-- Performing Test error_cxx_result
-- Performing Test error_cxx_result - Success
-- Performing Test missing-field-initializers_cxx_result
-- Performing Test missing-field-initializers_cxx_result - Success
-- Performing Test noerror_missing-field-initializers_cxx_result
-- Performing Test noerror_missing-field-initializers_cxx_result - Success
-- Performing Test unused-parameter_cxx_result
-- Performing Test unused-parameter_cxx_result - Success
-- Performing Test noerror_unused-parameter_cxx_result
-- Performing Test noerror_unused-parameter_cxx_result - Success
-- Performing Test unused-local-typedefs_cxx_result
-- Performing Test unused-local-typedefs_cxx_result - Success
-- Performing Test noerror_unused-local-typedefs_cxx_result
-- Performing Test noerror_unused-local-typedefs_cxx_result - Success
-- Performing Test all_c_result
-- Performing Test all_c_result - Success
-- Performing Test extra_c_result
-- Performing Test extra_c_result - Success
-- Performing Test declaration-after-statement_c_result
-- Performing Test declaration-after-statement_c_result - Success
-- Performing Test shadow_c_result
-- Performing Test shadow_c_result - Success
-- Performing Test strict-prototypes_c_result
-- Performing Test strict-prototypes_c_result - Success
-- Performing Test missing-prototypes_c_result
-- Performing Test missing-prototypes_c_result - Success
-- Performing Test sign-compare_c_result
-- Performing Test sign-compare_c_result - Success
-- Performing Test nested-externs_c_result
-- Performing Test nested-externs_c_result - Success
-- Performing Test pointer-arith_c_result
-- Performing Test pointer-arith_c_result - Success
-- Performing Test format-security_c_result
-- Performing Test format-security_c_result - Success
-- Performing Test init-self_c_result
-- Performing Test init-self_c_result - Success
-- Performing Test error_c_result
-- Performing Test error_c_result - Success
-- Performing Test missing-field-initializers_c_result
-- Performing Test missing-field-initializers_c_result - Success
-- Performing Test noerror_missing-field-initializers_c_result
-- Performing Test noerror_missing-field-initializers_c_result - Success
-- Performing Test unused-parameter_c_result
-- Performing Test unused-parameter_c_result - Success
-- Performing Test noerror_unused-parameter_c_result
-- Performing Test noerror_unused-parameter_c_result - Success
-- Performing Test unused-local-typedefs_c_result
-- Performing Test unused-local-typedefs_c_result - Success
-- Performing Test noerror_unused-local-typedefs_c_result
-- Performing Test noerror_unused-local-typedefs_c_result - Success
CMake Error at cmake/modules/FindQt.cmake:64 (MESSAGE):
  CMake was unable to find any Qt versions, put qmake in your path, or set
  QTDIR/QT_QMAKE_EXECUTABLE.
Call Stack (most recent call first):
  CMakeLists.txt:56 (find_package)


CMake Error at CMakeLists.txt:72 (if):
  if given arguments:

    "EQUAL" "4"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
See also "/media/DEDGEDORA/downloads/telepathy-qt-0/telepathy-qt-0.9.7/CMakeFiles/CMakeOutput.log".
[doublepost=1476636860][/doublepost]I fixed my first issue, by copying all the .conf files from /mnt/utmp/codeblocks/etc/xdg/qtchooser/ to /mnt/utmp/codeblocks/home/Config/qtchooser/

Will check to see if this fixes the second error as well.
 
strange, I don't need that copy on my side for qtchooser to work. I must have forgotten something when building the pnd.
 
I'm veeeery close now. mlite5 compiles okay. I installed it first to /mnt/utmp/codeblocks/usr/, but then qmake couldn't find it. So i installed also to /mnt/utmp/codeblocks/qt5/

Now I seem to make it through compile, but have an error at linking.

Code:
edged-openpandora:/media/DEDGEDORA/downloads/pebble-master/pebble-master$ make
cd daemon/ && ( test -e Makefile || /mnt/utmp/codeblocks/qt5/bin/qmake5 /media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon/daemon.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '/media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon'
g++ -c -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O2 -std=gnu++11 -std=c++11 -Wall -W -D_REENTRANT -fPIC -DAPP_VERSION=\"\" -DQUAZIP_STATIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_BLUETOOTH_LIB -DQT_DBUS_LIB -DQT_CONTACTS_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -Iquazip -I/mnt/utmp/codeblocks/qt5/include/mlite5 -isystem /usr/include/mlite5 -I/mnt/utmp/codeblocks/qt5/include/QtDBus -I/mnt/utmp/codeblocks/qt5/include -I/mnt/utmp/codeblocks/qt5/include/QtCore -isystem /mnt/utmp/codeblocks/usr/include -I/mnt/utmp/codeblocks/qt5/include/QtGui -I/mnt/utmp/codeblocks/qt5/include/QtQml -I/mnt/utmp/codeblocks/qt5/include/QtNetwork -I/mnt/utmp/codeblocks/qt5/include/QtBluetooth -I/mnt/utmp/codeblocks/qt5/include/QtContacts -I/mnt/utmp/codeblocks/qt5/include/QtPositioning -I. -I/mnt/utmp/codeblocks/qt5/mkspecs/linux-pandora-g++ -o daemon.o daemon.cpp
g++ -Wl,-O1 -Wl,-rpath-link,/mnt/utmp/codeblocks/qt5/lib -o pebbled daemon.o manager.o voicecallmanager.o voicecallhandler.o notificationmanager.o watchconnector.o appmanager.o musicmanager.o datalogmanager.o unpacker.o appmsgmanager.o jskitmanager.o appinfo.o jskitobjects.o packer.o bankmanager.o uploadmanager.o bundle.o qioapi.o JlCompress.o quaadler32.o quacrc32.o quagzipfile.o quaziodevice.o quazip.o quazipdir.o quazipfile.o quazipfileinfo.o quazipnewinfo.o unzip.o zip.o moc_manager.o moc_voicecallmanager.o moc_voicecallhandler.o moc_notificationmanager.o moc_watchconnector.o moc_settings.o moc_appmanager.o moc_musicmanager.o moc_datalogmanager.o moc_appmsgmanager.o moc_jskitmanager.o moc_appinfo.o moc_jskitobjects.o moc_bankmanager.o moc_uploadmanager.o moc_bundle.o moc_quagzipfile.o moc_quaziodevice.o moc_quazipfile.o watch_adaptor.o moc_watch_adaptor.o   -L/mnt/utmp/codeblocks/qt5/lib -lmlite5 -L/mnt/utmp/codeblocks/usr/lib -licui18n -licuuc -licudata -lz -lQt5Gui -lQt5Qml -lQt5Network -lQt5Bluetooth -lQt5DBus -lQt5Contacts -lQt5Positioning -lQt5Core -lGLESv2 -lpthread
daemon.o: In function `Settings::Settings(QObject*)':
daemon.cpp:(.text._ZN8SettingsC2EP7QObject[_ZN8SettingsC5EP7QObject]+0x40): undefined reference to `MDConfGroup::MDConfGroup(QString const&, QObject*, MDConfGroup::BindOption)'
daemon.cpp:(.text._ZN8SettingsC2EP7QObject[_ZN8SettingsC5EP7QObject]+0xe8): undefined reference to `MDConfGroup::resolveMetaObject(int)'
daemon.cpp:(.text._ZN8SettingsC2EP7QObject[_ZN8SettingsC5EP7QObject]+0x204): undefined reference to `MDConfGroup::sync()'
daemon.cpp:(.text._ZN8SettingsC2EP7QObject[_ZN8SettingsC5EP7QObject]+0x24c): undefined reference to `MDConfGroup::~MDConfGroup()'
daemon.o: In function `Settings::~Settings()':
daemon.cpp:(.text._ZN8SettingsD2Ev[_ZN8SettingsD5Ev]+0xe4): undefined reference to `MDConfGroup::~MDConfGroup()'
daemon.o: In function `Settings::~Settings()':
daemon.cpp:(.text._ZN8SettingsD0Ev[_ZN8SettingsD5Ev]+0xe4): undefined reference to `MDConfGroup::~MDConfGroup()'
moc_settings.o: In function `Settings::qt_metacast(char const*)':
moc_settings.cpp:(.text+0x8f8): undefined reference to `MDConfGroup::qt_metacast(char const*)'
moc_settings.o: In function `Settings::qt_metacall(QMetaObject::Call, int, void**)':
moc_settings.cpp:(.text+0x918): undefined reference to `MDConfGroup::qt_metacall(QMetaObject::Call, int, void**)'
moc_settings.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for MDConfGroup'
moc_settings.o:(.data.rel.ro+0x44): undefined reference to `MDConfGroup::staticMetaObject'
collect2: error: ld returned 1 exit status
Makefile:485: recipe for target 'pebbled' failed
make[1]: *** [pebbled] Error 1
make[1]: Leaving directory '/media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon'
Makefile:43: recipe for target 'sub-daemon-make_first' failed
make: *** [sub-daemon-make_first] Error 2

MDConfGroup is a part mlite5 I thought it might be because mlite5.pc had the prefix set to /usr, but correcting that didn't seem to work.
 
try to add to you CXXFLAGS or soem other where thoses compile flags :
Code:
-fuse-ld=gold -fuse-linker-plugin
gold is better then plain ld, and it's error message are most of the time more explicit.
 
I added it to both compiler flags and linker flags (LFLAGS) but it seems to give me the same output:

Code:
edged-openpandora:/media/DEDGEDORA/downloads/pebble-master/pebble-master$ make
cd daemon/ && ( test -e Makefile || /mnt/utmp/codeblocks/qt5/bin/qmake5 /media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon/daemon.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory '/media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon'
g++ -Wl,-O1 -Wl,-rpath-link,/mnt/utmp/codeblocks/qt5/lib -fuse-ld=gold -fuse-linker-plugin -o pebbled daemon.o manager.o voicecallmanager.o voicecallhandler.o notificationmanager.o watchconnector.o appmanager.o musicmanager.o datalogmanager.o unpacker.o appmsgmanager.o jskitmanager.o appinfo.o jskitobjects.o packer.o bankmanager.o uploadmanager.o bundle.o qioapi.o JlCompress.o quaadler32.o quacrc32.o quagzipfile.o quaziodevice.o quazip.o quazipdir.o quazipfile.o quazipfileinfo.o quazipnewinfo.o unzip.o zip.o moc_manager.o moc_voicecallmanager.o moc_voicecallhandler.o moc_notificationmanager.o moc_watchconnector.o moc_settings.o moc_appmanager.o moc_musicmanager.o moc_datalogmanager.o moc_appmsgmanager.o moc_jskitmanager.o moc_appinfo.o moc_jskitobjects.o moc_bankmanager.o moc_uploadmanager.o moc_bundle.o moc_quagzipfile.o moc_quaziodevice.o moc_quazipfile.o watch_adaptor.o moc_watch_adaptor.o   -L/mnt/utmp/codeblocks/usr/lib -L/mnt/utmp/codeblocks/qt5/lib -lmlite5 -licui18n -licuuc -licudata -lz -lQt5Gui -lQt5Qml -lQt5Network -lQt5Bluetooth -lQt5DBus -lQt5Contacts -lQt5Positioning -lQt5Core -lGLESv2 -lpthread
daemon.o:daemon.cpp:function Settings::Settings(QObject*): error: undefined reference to 'MDConfGroup::MDConfGroup(QString const&, QObject*, MDConfGroup::BindOption)'
daemon.o:daemon.cpp:function Settings::Settings(QObject*): error: undefined reference to 'MDConfGroup::resolveMetaObject(int)'
daemon.o:daemon.cpp:function Settings::Settings(QObject*): error: undefined reference to 'MDConfGroup::sync()'
daemon.o:daemon.cpp:function Settings::Settings(QObject*): error: undefined reference to 'MDConfGroup::~MDConfGroup()'
daemon.o:daemon.cpp:function Settings::~Settings(): error: undefined reference to 'MDConfGroup::~MDConfGroup()'
daemon.o:daemon.cpp:function Settings::~Settings(): error: undefined reference to 'MDConfGroup::~MDConfGroup()'
moc_settings.o:moc_settings.cpp:function Settings::qt_metacast(char const*): error: undefined reference to 'MDConfGroup::qt_metacast(char const*)'
moc_settings.o:moc_settings.cpp:function Settings::qt_metacall(QMetaObject::Call, int, void**): error: undefined reference to 'MDConfGroup::qt_metacall(QMetaObject::Call, int, void**)'
moc_settings.o:moc_settings.cpp:typeinfo for Settings: error: undefined reference to 'typeinfo for MDConfGroup'
moc_settings.o:moc_settings.cpp:Settings::staticMetaObject: error: undefined reference to 'MDConfGroup::staticMetaObject'
collect2: error: ld returned 1 exit status
Makefile:485: recipe for target 'pebbled' failed
make[1]: *** [pebbled] Error 1
make[1]: Leaving directory '/media/DEDGEDORA/downloads/pebble-master/pebble-master/daemon'
Makefile:43: recipe for target 'sub-daemon-make_first' failed
make: *** [sub-daemon-make_first] Error 2
 
Well, then all this "MDConfGroup" object is not in any lib / object file you linked. Where this object is defined (.cpp source first, then the .so / .o)
 
That is what I thought too, but from what I could tell, it all should have been packaged into libmlite5.so.

Source for mlite5 is here: https://git.merproject.org/mer-core/mlite/tree/50051c6a9a7d5ca818d13c40eeca9378c35de798/src

And all the stuff that are supposedly missing are here: https://git.merproject.org/mer-core...818d13c40eeca9378c35de798/src/mdconfgroup.cpp

But I looked through mlite's src.pro, and supposedly that cpp was compiled when I made libmlite5.so.
[doublepost=1476650913,1476650598][/doublepost]Ohh... wait... maybe this warning came up during compilation and I missed it: "dconf not found; MGConfItem will not be built".

If that was the case, then MDConfGroup would not have been inlcluded in the compiled lib.

Thanks, @ptitSeb , time to go figure out what dconf is!
 
Added an untested Nodejs PND in 1st post.
npm and console mode Node.js app should work, but unfortunatly, electron will not (electron is based on chromium, and chromium build system assume linux arm means hardfloat...). I try to have a build of electron, but no luck until now (and the integration will not be easy even if I succeed).
 
Back
Top