Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi vai con cloop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Sun Sep 12, 2004 6:12 pm    Post subject: Problemi vai con cloop Reply with quote

Code:
# KERNEL_DIR="/usr/src/linux" emerge cloop
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/cloop-2.00 to /
>>> md5 src_uri ;-) cloop_2.00-1.tar.gz
>>> Unpacking source...
>>> Unpacking cloop_2.00-1.tar.gz to /var/tmp/portage/cloop-2.00/work
>>> Source unpacked.
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.8-gentoo-r3 found in /usr/src/linux
 * This version of cloop will only compile against Linux 2.4.x
 * Please change where /usr/src/linux points to, or export the KERNEL_DIR
 * environment variable like this:
 *
 *   KERNEL_DIR="<dir>" emerge cloop
 
!!! ERROR: sys-apps/cloop-2.00 failed.
!!! Function badversion, Line 30, Exitcode 0
!!! cloop 2.00 only works with Linux 2.4


ma sul sito http://www.knoppix.net/docs/index.php/cloop c'è scritto che cloop 2.x va sul kernel 2.6x ?!

Quote:
Use version 1.xx if you have a 2.4 kernel, or version 2.xx for 2.6 kernel. Versions 0.xx are too old, probably won't work well.

_________________
Blog
E8400, 4850, P5q


Last edited by assente on Mon Sep 13, 2004 9:22 am; edited 1 time in total
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sun Sep 12, 2004 6:35 pm    Post subject: Reply with quote

ma cloop non è già nel kernel 2.6?

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Sun Sep 12, 2004 10:50 pm    Post subject: Reply with quote

boh nn riesco proprio a generare questo misterioso file cloop.o ?!
Code:
# emerge cloop
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/cloop-2.00 to /
>>> md5 src_uri ;-) cloop_2.00-1.tar.gz
>>> Unpacking source...
>>> Unpacking cloop_2.00-1.tar.gz to /var/tmp/portage/cloop-2.00/work
>>> Source unpacked.
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.8-gentoo-r3 found in /usr/src/linux
/usr/sbin/ebuild.sh: line 44: //[: No such file or directory
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer  -D__KERNEL__ -DMODULE -fno-builtin -nostdlib -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -D__SMP__ compressed_loop.c -c -o compressed_loop.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer    -c -o create_compressed_fs.o create_compressed_fs.c
<command line>:138457493:45528: /usr/src/linux/include/linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
                 from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/module.h:10,
                 from compressed_loop.c:28:
/usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
                 from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/module.h:10,
                 from compressed_loop.c:28:
/usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
In file included from /usr/src/linux/include/asm/smp.h:20,
                 from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/module.h:10,
                 from compressed_loop.c:28:
/usr/src/linux/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'/usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'In file included from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/module.h:10,
                 from compressed_loop.c:28:
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux/include/linux/smp.h:17,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from /usr/src/linux/include/linux/module.h:10,
                 from compressed_loop.c:28:
/usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/linux/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer    -c -o extract_compressed_fs.o extract_compressed_fs.c
gcc -o create_compressed_fs create_compressed_fs.o -lz
gcc -o extract_compressed_fs extract_compressed_fs.o -lz
compressed_loop.c: At top level:
compressed_loop.c:45: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
compressed_loop.c:45: warning: data definition has no type or storage class
compressed_loop.c:47:41: missing binary operator before token "("
In file included from compressed_loop.c:71:
/usr/src/linux/include/linux/blk.h:1:2: warning: #warning this file is obsolete, please use <linux/blkdev.h> instead
compressed_loop.c:116: error: syntax error before "devfs_handle"
compressed_loop.c:116: warning: type defaults to `int' in declaration of `devfs_handle'
compressed_loop.c:116: warning: data definition has no type or storage class
compressed_loop.c: In function `get_blksize':
compressed_loop.c:147: error: `blksize_size' undeclared (first use in this function)
compressed_loop.c:147: error: (Each undeclared identifier is reported only once
compressed_loop.c:147: error: for each function it appears in.)
compressed_loop.c: In function `clo_read_actor':
compressed_loop.c:169: error: structure has no member named `buf'
compressed_loop.c: In function `clo_read_from_file':
compressed_loop.c:195: error: structure has no member named `buf'
compressed_loop.c: In function `make_clo_request':
compressed_loop.c:271: warning: passing arg 2 of `blk_queue_bounce' makes pointer from integer without a cast
compressed_loop.c:271: error: too many arguments to function `blk_queue_bounce'
compressed_loop.c:271: error: void value not ignored as it ought to be
compressed_loop.c:280: error: dereferencing pointer to incomplete type
compressed_loop.c:296: error: dereferencing pointer to incomplete type
compressed_loop.c:302: error: dereferencing pointer to incomplete type
compressed_loop.c:303: error: dereferencing pointer to incomplete type
compressed_loop.c:304: error: dereferencing pointer to incomplete type
compressed_loop.c:343: error: dereferencing pointer to incomplete type
compressed_loop.c: In function `clo_set_file':
compressed_loop.c:360: error: structure has no member named `i_dev'
compressed_loop.c: At top level:
compressed_loop.c:529: error: syntax error before "kdev_t"
compressed_loop.c:531: warning: function declaration isn't a prototype
compressed_loop.c: In function `clo_set_fd':
compressed_loop.c:532: error: `cloop_num' undeclared (first use in this function)
compressed_loop.c:538: error: `arg' undeclared (first use in this function)
compressed_loop.c: In function `clo_open':
compressed_loop.c:617: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:555)
compressed_loop.c: In function `clo_close':
compressed_loop.c:636: warning: implicit declaration of function `fsync_dev'
compressed_loop.c:638: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:567)
compressed_loop.c: In function `init_module':
compressed_loop.c:675: warning: implicit declaration of function `devfs_register_blkdev'
compressed_loop.c:682: error: `blk_size' undeclared (first use in this function)compressed_loop.c:683: error: `blksize_size' undeclared (first use in this function)
compressed_loop.c:684: warning: implicit declaration of function `BLK_DEFAULT_QUEUE'
compressed_loop.c:684: warning: passing arg 1 of `blk_queue_make_request' makes pointer from integer without a cast
compressed_loop.c:684: warning: passing arg 2 of `blk_queue_make_request' from incompatible pointer type
compressed_loop.c:686: error: too many arguments to function `register_disk'
compressed_loop.c:689: warning: implicit declaration of function `devfs_register_series'
compressed_loop.c:689: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function)
compressed_loop.c: In function `cleanup_module':
compressed_loop.c:706: warning: implicit declaration of function `devfs_unregister_blkdev'
make: *** [compressed_loop.o] Error 1
make: *** Waiting for unfinished jobs....
 
!!! ERROR: sys-apps/cloop-2.00 failed.
!!! Function kernel-mod_src_compile, Line 156, Exitcode 2
!!! (no error message)

_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Sep 13, 2004 8:07 am    Post subject: Reply with quote

assente wrote:
/usr/src/linux/include/linux/modversions.h: No such file or directory


Mi sa che stai usando i kernel-headers del 2.4
_________________
Ciao da me!
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Mon Sep 13, 2004 8:31 am    Post subject: Reply with quote

ma in gentoo-dev-sources è già inclusa questa patch?

<M> Compressed ROM file system support

Scaricando il cloop originale c'è un Makefile da personalizzare:

Code:
#!/usr/bin/make

KERNEL_DIR=/usr/src/linux

ifdef APPSONLY
CFLAGS:=-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer
else
include $(KERNEL_DIR)/.config
include $(KERNEL_DIR)/conf.vars
endif


Mi dà un'errore quando cerca $(KERNEL_DIR)/conf.vars, non ce l'ho, cosa dovrebbe essere?
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
assente
Guru
Guru


Joined: 12 Apr 2004
Posts: 570
Location: Torino, italia, New Europe

PostPosted: Thu Sep 16, 2004 1:19 pm    Post subject: Reply with quote

nessuno che mi da una dritta per installare cloop su gentoo-dev-sources?
_________________
Blog
E8400, 4850, P5q
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum