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
./dmenu
./dmenu_run
./dmenu_run: line 2: ./dmenu_run: line 2: menu_path: not foundmenu: Permission denied.
chmod +x dmenu_path
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) {
^
#define _GNU_SOURCE
PATH=$(pwd):$PATH ./dmenu_run
./dmenu_run command not found
ls -l
Acanthus:/home/d0/dmenu$ ls -l
total 152
-rw-r--r-- 1 root root 1011 Jul 25 13:53 arg.h
-rw-r--r-- 1 root root 892 Jul 25 13:53 config.def.h
-rw-r--r-- 1 root root 892 Jul 26 15:20 config.h
-rw-r--r-- 1 root root 846 Jul 25 14:50 config.mk
-rwxr-xr-x 1 root root 19424 Jul 26 15:20 dmenu
-rw-r--r-- 1 root root 2765 Jul 25 13:53 dmenu.1
-rw-r--r-- 1 root root 16711 Jul 25 13:53 dmenu.c
-rw-r--r-- 1 root root 13308 Jul 26 15:20 dmenu.o
-rw-r--r-- 1 root root 294 Jul 25 13:53 dmenu_path
-rw-r--r-- 1 root root 58 Jul 25 13:53 dmenu_run
-rw-r--r-- 1 root root 9902 Jul 25 13:53 drw.c
-rw-r--r-- 1 root root 1659 Jul 25 13:53 drw.h
-rw-r--r-- 1 root root 6632 Jul 26 15:20 drw.o
-rw-r--r-- 1 root root 1442 Jul 25 13:53 LICENSE
-rw-r--r-- 1 root root 2130 Jul 25 13:53 Makefile
-rw-r--r-- 1 root root 475 Jul 25 13:53 README
-rwxr-xr-x 1 root root 5960 Jul 26 15:20 stest
-rw-r--r-- 1 root root 1530 Jul 25 13:53 stest.1
-rw-r--r-- 1 root root 3229 Jul 25 13:53 stest.c
-rw-r--r-- 1 root root 3304 Jul 26 15:20 stest.o
-rw-r--r-- 1 root root 482 Jul 25 13:53 util.c
-rw-r--r-- 1 root root 305 Jul 25 13:53 util.h
-rw-r--r-- 1 root root 1236 Jul 26 15:20 util.o