abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 02:11 | Komunita

    Všem čtenářkám a čtenářům AbcLinuxu krásné Vánoce.

    Ladislav Hagara | Komentářů: 11
    dnes 02:00 | Nová verze

    Byla vydána nová verze 7.0 linuxové distribuce Parrot OS (Wikipedie). S kódovým názvem Echo. Jedná se o linuxovou distribuci založenou na Debianu a zaměřenou na penetrační testování, digitální forenzní analýzu, reverzní inženýrství, hacking, anonymitu nebo kryptografii. Přehled novinek v příspěvku na blogu.

    Ladislav Hagara | Komentářů: 1
    včera 18:33 | Nová verze

    Vývojáři postmarketOS vydali verzi 25.12 tohoto před osmi lety představeného operačního systému pro chytré telefony vycházejícího z optimalizovaného a nakonfigurovaného Alpine Linuxu s vlastními balíčky. Přehled novinek v příspěvku na blogu. Na výběr jsou 4 uživatelská rozhraní: GNOME Shell on Mobile, KDE Plasma Mobile, Phosh a Sxmo.

    Ladislav Hagara | Komentářů: 0
    včera 13:55 | Nová verze

    Byla vydána nová verze 0.41.0 multimediálního přehrávače mpv (Wikipedie) vycházejícího z přehrávačů MPlayer a mplayer2. Přehled novinek, změn a oprav na GitHubu. Požadován je FFmpeg 6.1 nebo novější a také libplacebo 6.338.2 nebo novější.

    Ladislav Hagara | Komentářů: 0
    včera 12:44 | Nová verze

    Byla vydána nová verze 5.5 (novinky) skriptovacího jazyka Lua (Wikipedie). Po pěti a půl letech od vydání verze 5.4.

    Ladislav Hagara | Komentářů: 0
    22.12. 23:44 | Nová verze

    Byla vydána nová verze 5.4.0 programu na úpravu digitálních fotografií darktable (Wikipedie). Z novinek lze vypíchnout vylepšenou podporu Waylandu. Nejnovější darktable by měl na Waylandu fungovat stejně dobře jako na X11.

    Ladislav Hagara | Komentářů: 0
    21.12. 05:00 | Nová verze

    Byla vydána beta verze Linux Mintu 22.3 s kódovým jménem Zena. Podrobnosti v přehledu novinek a poznámkách k vydání. Vypíchnout lze, že nástroj Systémová hlášení (System Reports) získal mnoho nových funkcí a byl přejmenován na Informace o systému (System Information). Linux Mint 22.3 bude podporován do roku 2029.

    Ladislav Hagara | Komentářů: 2
    21.12. 01:55 | Nová verze

    GNU Project Debugger aneb GDB byl vydán ve verzi 17.1. Podrobný přehled novinek v souboru NEWS.

    Ladislav Hagara | Komentářů: 0
    19.12. 17:22 | IT novinky

    Josef Průša oznámil zveřejnění kompletních CAD souborů rámů tiskáren Prusa CORE One a CORE One L. Nejsou vydány pod obecnou veřejnou licenci GNU ani Creative Commons ale pod novou licencí OCL neboli Open Community License. Ta nepovoluje prodávat kompletní tiskárny či remixy založené na těchto zdrojích.

    Ladislav Hagara | Komentářů: 14
    19.12. 17:00 | Komunita

    Nový CEO Mozilla Corporation Anthony Enzor-DeMeo tento týden prohlásil, že by se Firefox měl vyvinout v moderní AI prohlížeč. Po bouřlivých diskusích na redditu ujistil, že v nastavení Firefoxu bude existovat volba pro zakázání všech AI funkcí.

    Ladislav Hagara | Komentářů: 1
    Kdo vám letos nadělí dárek?
     (31%)
     (3%)
     (11%)
     (3%)
     (1%)
     (3%)
     (13%)
     (21%)
     (15%)
    Celkem 75 hlasů
     Komentářů: 18, poslední dnes 15:30
    Rozcestník

    Administrace komentářů

    Jste na stránce určené pro řešení chyb a problémů týkajících se diskusí a komentářů. Můžete zde našim administrátorům reportovat špatně zařazenou či duplicitní diskusi, vulgární či osočující příspěvek a podobně. Děkujeme vám za vaši pomoc, více očí více vidí, společně můžeme udržet vysokou kvalitu AbcLinuxu.cz.

    Příspěvek
    19.4.2007 17:33 kotvic
    Rozbalit Rozbalit vše Re: Nedaří se zkompilovat KIM
    Vypis: bt libaca # ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O3 -Wall ) works... yes checking whether the C compiler (gcc -O3 -Wall ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for install... /usr/bin/install checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for rm... /usr/bin/rm checking for msgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for make... /usr/bin/make checking for rmdir... /usr/bin/rmdir checking for initscr in -lncurses... yes checking for Gpm_Open in -lgpm... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for malloc.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for sygnal.h... no checking for stdlib.h... yes checking for sygnal.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working const... yes checking for inline... inline checking whether gcc needs -traditional... no checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for strftime... yes checking for mkdir... yes checking for select... yes checking for strdup... yes checking for strstr... yes updating cache ./config.cache creating ./config.status creating Makeconf

    Configuration:

    Global Makefile location: . Compiler: gcc Compiler flags: -O3 -Wall Library: -lncurses -lgpm Include: Debug code: none Gpm mouse: yes Define macro: ACA version: 0.0.1 Install prefix: /usr/local

    Makefiles:

    - for compilation: 'make' - for clean: 'make clean' - for clean makefiles: 'make clean-make' - for install: 'make install' - for uninstall: 'make uninstall'

    bt libaca # mc

    bt libaca.0.0.1 # cd .. bt kim-1.2.2.orig # cd liba libaca/ libaca.0.0.1/ bt kim-1.2.2.orig # cd libaca bt libaca # pwd /home/kim-1.2.2.orig/libaca bt libaca # make make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/draw' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c draw.c /usr/bin/cp -f draw.o ../Share-lib/draw.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c astr.c /usr/bin/cp -f astr.o ../Share-lib/astr.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c colors.c /usr/bin/cp -f colors.o ../Share-lib/colors.o make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/draw' make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/utils' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c utils.c /usr/bin/cp -f utils.o ../Share-lib/utils.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c ini_file.c /usr/bin/cp -f ini_file.o ../Share-lib/ini_file.o make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/utils' make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/widgets' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c widget_utils.c In file included from widget_utils.c:7: widget_utils.h:45:7: warning: no newline at end of file widget_utils.c: In function `init_str_list': widget_utils.c:50: warning: implicit declaration of function `strlen' /usr/bin/cp -f widget_utils.o ../Share-lib/widget_utils.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c button.c In file included from button.c:4: widget_utils.h:45:7: warning: no newline at end of file /usr/bin/cp -f button.o ../Share-lib/button.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c radio.c In file included from radio.c:5: widget_utils.h:45:7: warning: no newline at end of file /usr/bin/cp -f radio.o ../Share-lib/radio.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c menu.c In file included from menu.c:6: widget_utils.h:45:7: warning: no newline at end of file menu.c: In function `init_edit': menu.c:411: warning: implicit declaration of function `strlen' /usr/bin/cp -f menu.o ../Share-lib/menu.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c input.c In file included from input.c:6: widget_utils.h:45:7: warning: no newline at end of file /usr/bin/cp -f input.o ../Share-lib/input.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c session.c In file included from session.c:5: widget_utils.h:45:7: warning: no newline at end of file session.c:278:4: warning: no newline at end of file /usr/bin/cp -f session.o ../Share-lib/session.o make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/widgets' make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/char' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c key.c In file included from key.c:27: mouse.h:12:8: warning: no newline at end of file In file included from key.c:33: key_define.h:32:4: warning: no newline at end of file /usr/bin/cp -f key.o ../Share-lib/key.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c mouse.c In file included from mouse.c:23: mouse.h:12:8: warning: no newline at end of file mouse.c:191:24: warning: no newline at end of file /usr/bin/cp -f mouse.o ../Share-lib/mouse.o make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/char' make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/dialogs' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c simple.c /usr/bin/cp -f simple.o ../Share-lib/simple.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c file_view.c /usr/bin/cp -f file_view.o ../Share-lib/file_view.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c select_file.c /usr/bin/cp -f select_file.o ../Share-lib/select_file.o gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c learn_key.c learn_key.c: In function `bgr_learnkey': learn_key.c:60: warning: implicit declaration of function `strlen' /usr/bin/cp -f learn_key.o ../Share-lib/learn_key.o make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/dialogs' cd ./Share-lib;\ /usr/bin/make all || exit 1;\ cd ..; make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/Share-lib' /usr/bin/rm -f libaca.a ar rcs libaca.a draw.o astr.o colors.o key.o mouse.o utils.o ini_file.o button.o input.o menu.o radio.o session.o widget_utils.o simple.o file_view.o select_file.o learn_key.o gcc -shared -Wall,-soname,libaca.so.0.0.1 -o libaca.so.0.0.1 draw.o astr.o colors.o key.o mouse.o utils.o ini_file.o button.o input.o menu.o radio.o session.o widget_utils.o simple.o file_view.o select_file.o learn_key.o -lc -lncurses -lgpm make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/Share-lib' cd ./Examples;\ /usr/bin/make all || exit 1;\ cd ..; make[1]: Entering directory `/home/kim-1.2.2.orig/libaca.0.0.1/Examples' gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -c examples_colors.c In file included from examples_colors.c:4: examples_colors.h:38:7: warning: no newline at end of file gcc -O3 -Wall -DDEBUG=0 -DHAVE_MOUSE -I ../include -o edit edit.c examples_colors.o -lncurses -lgpm -L ../Share-lib/ -laca In file included from edit.c:11: examples_colors.h:38:7: warning: no newline at end of file edit.c: In function `main': edit.c:41: warning: implicit declaration of function `strcpy' edit.c:57: warning: implicit declaration of function `exit' edit.c:63:5: warning: no newline at end of file ../Share-lib//libaca.a(simple.o)(.text+0x67f): In function `Dlg_Warning_org': : undefined reference to `errno' ../Share-lib//libaca.a(simple.o)(.text+0x91d): In function `Dlg_Warning_org': : undefined reference to `errno' ../Share-lib//libaca.a(simple.o)(.text+0x984): In function `Dlg_Warning_org': : undefined reference to `errno' collect2: ld returned 1 exit status make[1]: *** [edit] Error 1 make[1]: Leaving directory `/home/kim-1.2.2.orig/libaca.0.0.1/Examples' make: *** [example] Error 1

    config.log configure:543: checking for gcc configure:656: checking whether the C compiler (gcc -O3 -Wall ) works configure:672: gcc -o conftest -O3 -Wall conftest.c 1>&5 configure:669: warning: return type defaults to `int' configure:698: checking whether the C compiler (gcc -O3 -Wall ) is a cross-compiler configure:703: checking whether we are using GNU C configure:712: gcc -E conftest.c configure:731: checking whether gcc accepts -g configure:765: checking for install configure:801: checking for cp configure:837: checking for ln configure:873: checking for ls configure:909: checking for rm configure:945: checking for msgfmt configure:981: checking for xgettext configure:1017: checking for make configure:1053: checking for rmdir configure:1116: checking for initscr in -lncurses configure:1135: gcc -o conftest -O3 -Wall conftest.c -lncurses 1>&5 configure:1227: checking for Gpm_Open in -lgpm configure:1246: gcc -o conftest -O3 -Wall conftest.c -lgpm -lncurses 1>&5 configure:1288: checking for dirent.h that defines DIR configure:1301: gcc -c -O3 -Wall conftest.c 1>&5 configure: In function `main': configure:1297: warning: unused variable `dirp' configure:1326: checking for opendir in -ldir configure:1345: gcc -o conftest -O3 -Wall conftest.c -ldir -lncurses -lgpm 1>&5 /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 1334 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir();

    int main() { opendir() ; return 0; } configure:1409: checking how to run the C preprocessor configure:1430: gcc -E conftest.c >/dev/null 2>conftest.out configure:1489: checking for ANSI C header files configure:1502: gcc -E conftest.c >/dev/null 2>conftest.out configure:1569: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure: In function `main': configure:1564: warning: implicit declaration of function `exit' configure:1593: checking for sys/wait.h that is POSIX.1 compatible configure:1614: gcc -c -O3 -Wall conftest.c 1>&5 configure:1639: checking for fcntl.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for malloc.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for sys/ioctl.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for sys/time.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for unistd.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for sygnal.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1645:20: sygnal.h: No such file or directory configure: failed program was: #line 1644 "configure" #include "confdefs.h" #include sygnal.h configure:1639: checking for stdlib.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1639: checking for sygnal.h configure:1649: gcc -E conftest.c >/dev/null 2>conftest.out configure:1677: checking whether time.h and sys/time.h may both be included configure:1691: gcc -c -O3 -Wall conftest.c 1>&5 configure: In function `main': configure:1687: warning: unused variable `tp' configure:1712: checking whether struct tm is in sys/time.h or time.h configure:1725: gcc -c -O3 -Wall conftest.c 1>&5 configure: In function `main': configure:1721: warning: statement with no effect configure:1746: checking for working const configure:1800: gcc -c -O3 -Wall conftest.c 1>&5 configure: In function `main': configure:1774: warning: unused variable `s' configure:1794: warning: unused variable `foo' configure:1756: warning: unused variable `x' configure:1762: warning: unused variable `zero' configure:1791: warning: 'b' might be used uninitialized in this function configure:1773: warning: 't' might be used uninitialized in this function configure:1821: checking for inline configure:1835: gcc -c -O3 -Wall conftest.c 1>&5 configure: In function `main': configure:1830: warning: control reaches end of non-void function configure:1863: checking whether gcc needs -traditional configure:1912: checking for unistd.h configure:1951: checking for getpagesize configure:1979: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2004: checking for working mmap configure:2155: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2086: error: conflicting types for 'malloc' configure:2086: error: conflicting types for 'malloc' configure: failed program was: #line 2012 "configure" #include "confdefs.h"

    /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the filesystem buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be.

    Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include sys/types.h #include fcntl.h #include sys/mman.h #include stdlib.h #include sys/stat.h

    #ifdef HAVE_UNISTD_H # include unistd.h #endif

    /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE

    /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif

    # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include sys/param.h # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */

    #endif /* no HAVE_GETPAGESIZE */

    #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif

    int main() { char *data, *data2, *data3; int i, pagesize; int fd;

    pagesize = getpagesize();

    /* * First, make a file with some known garbage in it. */ data = (char*)malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd);

    /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = (char*)malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1);

    /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char*)malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); }

    configure:2178: checking for strftime configure:2206: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1&5 configure:2190: warning: conflicting types for built-in function 'strftime' configure:2276: checking for mkdir configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2276: checking for select configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2276: checking for strdup configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2288: warning: conflicting types for built-in function 'strdup' configure:2276: checking for strstr configure:2304: gcc -o conftest -O3 -Wall conftest.c -lncurses -lgpm 1>&5 configure:2288: warning: conflicting types for built-in function 'strstr'

    V tomto formuláři můžete formulovat svou stížnost ohledně příspěvku. Nejprve vyberte typ akce, kterou navrhujete provést s diskusí či příspěvkem. Potom do textového pole napište důvody, proč by měli admini provést vaši žádost, problém nemusí být patrný na první pohled. Odkaz na příspěvek bude přidán automaticky.

    Vaše jméno
    Váš email
    Typ požadavku
    Slovní popis
    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.