A $subject-et szerettem volna lefordítani X86_64-re, de ez lett belőle: make[1]: Entering directory `/usr/local/src/restrict/restrict-0.1.6' /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"restrict\" -DVERSION=\"0.1.6\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRTOL=1 -DHAVE_LIBDL=1 -I. -I/usr/include -g -O2 -D_GNU_SOURCE -c restrict.c gcc -DPACKAGE=\"restrict\" -DVERSION=\"0.1.6\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRTOL=1 -DHAVE_LIBDL=1 -I. -I/usr/include -g -O2 -D_GNU_SOURCE -c restrict.c -fPIC -DPIC -o restrict.lo restrict.c: In function `restrict_process': restrict.c:139: warning: initialization makes pointer from integer without a cast restrict.c:202: error: `cap_t' undeclared (first use in this function) restrict.c:202: error: (Each undeclared identifier is reported only once restrict.c:202: error: for each function it appears in.) restrict.c:202: error: parse error before "cap" restrict.c:207: error: `cap' undeclared (first use in this function) restrict.c:224: error: parse error before "proc_caps" restrict.c:225: error: `proc_caps' undeclared (first use in this function) restrict.c:225: warning: initialization makes pointer from integer without a cast A restrict.c elején az include sys/capability.h-t linux/capability.h-re cseréltem, mert a sys alatt nincs. Mit tudok tenni ez ügyben? -- Gabor HALASZ <halasz.g@freemail.hu>
Gabor HALASZ wrote:
A restrict.c elején az include sys/capability.h-t linux/capability.h-re cseréltem, mert a sys alatt nincs. Mit tudok tenni ez ügyben?
A libcap-dev csomag fent van? Abban van a sys/capability.h, azzal le kell fordulnia. -- Geller Sandor wildy@balabit.hu
Gellér Sándor wrote:
A libcap-dev csomag fent van? Abban van a sys/capability.h, azzal le kell fordulnia.
De jó ez a sok egyforma nevű header :) v1 vagy v2 kell? -- Gabor HALASZ <halasz.g@freemail.hu>
Gabor HALASZ wrote:
Gellér Sándor wrote:
A libcap-dev csomag fent van? Abban van a sys/capability.h, azzal le kell fordulnia.
De jó ez a sok egyforma nevű header :) v1 vagy v2 kell?
Mi a libcap1-et hasznaljuk, a v2 a libcap2-dev, egyebkent azzal is lefordul. -- Geller Sandor wildy@balabit.hu
Gellér Sándor wrote:
Mi a libcap1-et hasznaljuk, a v2 a libcap2-dev, egyebkent azzal is lefordul.
Kösz, lefordult -- Gabor HALASZ <halasz.g@freemail.hu>
participants (2)
-
Gabor HALASZ
-
Gellér Sándor