Port Requests


hi i want to compile XDRP
but have ever this Error:
Zwischenablage01.jpg


I tried to Google this Error and some People solved this..but i cannot get it to finish compile.
When i read the Infos right then i must add somewhere with g++ the "-ldl" but do not know where exactly.

Maybe someone of you can help me.
The User Raik asked me to compile a RDP Server for the Pandora because VNC ist too slow and i tried it but Error :(
He want to remote the Pandora Desktop ;)
https://github.com/neutrinolabs/xrdp
 
@ingoreis , looks like an autotools build (I haven't checked, you looking at the screen shot).
In that case, when invoking "./configure", add
Code:
LIBS="-ldl"
at the end of the command
for example:
Code:
./configure --prefix=/mnt/utmp/xrdp LIBS="-ldl"
and it should do the trick.
 
oh it seem to compile now..thx :D
Information if it finished come soon..maybe i build a PND then :)

Edit:
it compiled...thx again :)
 
Last edited:
*edit sorry about the mess was posting from the pandora and it got jumbled.

Code:
Acanthus:/mnt/utmp/codeblocks/dmenu$ sudo make
dmenu build options:
CFLAGS   = -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -std=c99 -pedantic -Wall -Os -I/mnt/utmp/codeblocks/usr/include -I/mnt/utmp/codeblocks/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION="4.6" -DXINERAMA
LDFLAGS  = -s -L/mnt/utmp/codeblocks/usr/lib -lX11 -lXinerama -lfontconfig -lXft
CC       = cc
creating config.h from config.def.h
CC dmenu.c
CC drw.c
CC util.c
CC -o dmenu
CC stest.c
stest.c: In function ���main���:
stest.c:86:15: warning: implicit declaration of function ���getline��� [-Wimplicit-function-declaration]
   while ((n = getline(&line, &linesiz, stdin)) > 0) {
               ^
CC -o stest

I managed to build dmenu and it gave me a couple errors but otherwise fine. I can run it but it doesn't do anything I can see.
 
Last edited:
Is it possibly drawing behind the task bar? Try moving or hiding that. Also, if you are launching from command line, does it return anything?
 
I'm not sure where the logs would be, from what I can tell dmenu isn't self logging. I logged in /var/logs but didn't see anything useful. I tried moving the taskbar, it isn't under there.

So just to be clear I was typing
Code:
./dmenu

And it would run something (have to ctrl-c to get the cursor back in the terminal window), but nothing tangible. So I tried

Code:
./dmenu_run

as I read that's how you invoke it, and that gets me

Code:
./dmenu_run: line 2: ./dmenu_run: line 2: menu_path: not foundmenu: Permission denied.

hmmmmm.
 
@directive0 : strange. I'll have to test on my side, not sure what next step could be.

In the mean time, you can try 1 thing: in the config.mk I gave you, comment the 2 lines with XINERAMA to not use it, in case it break things...
[doublepost=1469543063,1469542989][/doublepost]Also, you should
Code:
chmod +x dmenu_path
to fix the error you have with dmenu_run
 
Last edited:
You're doing me a favor. I'd like to use Albert or dmenu on my Pandora too. I just am working to publish my first PND before I get into something else.
 
have you tried to build liblwjgl new with your newer Glshim for Minecraft? :)
I have now a very very fast SD Card for testings :D
Aaand i am in Holiday this Week ;)
 
Sadly no, that didn't help.

I'm going to try building it again and will look at the config.mk again, maybe there's something in there I missed. I have a feeling the
Code:
CC stest.c
stest.c: In function ���main���:
stest.c:86:15: warning: implicit declaration of function ���getline��� [-Wimplicit-function-declaration]
   while ((n = getline(&line, &linesiz, stdin)) > 0) {
               ^

warning I got has something to do with it.

*edit
I read that adding

Code:
#define _GNU_SOURCE

before #include <stdio.h> would help, but sadly it didn't change the outcome when I tried to compile. I still get an error for "getline". I've read that you can interchange it with the fgets for C? Should I try that? I guess I will and see what happens.

*edit edit
No. It really didn't like that.
 
Last edited:
It's not an error, it's a warning. And the linking go well, so don't look here.
Plus, stest looks like some test, not the real app.
 
It works, but you need to type this (after the chmod on dmenu_path) for it to start:
Code:
PATH=$(pwd):$PATH ./dmenu_run
But I'm not sure how to use it after that...
 
Back
Top