Re: UDF packet writing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-i agree---- Original Message -----
From: "Alimin Bijosono Oei" <alimin_oei@xxxxxxxxxxxxx>
To: fedora-list@xxxxxxxxxx
Sent: Saturday, June 05, 2004 08:48 PM
Subject: UDF packet writing

 >Hi,
 
 
  >>  CC [M]  drivers/block/cpqarray.o
  >>  CC [M]  drivers/block/cciss.o
  >>  CC [M]  drivers/block/DAC960.o
  >>  CC [M]  drivers/block/pktcdvd.o
  >>drivers/block/pktcdvd.c: In function `kcdrwd':
  >>drivers/block/pktcdvd.c:1236: error: `PF_IOTHREAD' undeclared (first use
  >>in this function)
  >>drivers/block/pktcdvd.c:1236: error: (Each undeclared identifier is
  >>reported only once
  >>drivers/block/pktcdvd.c:1236: error: for each function it appears in.)
  >>make[2]: *** [drivers/block/pktcdvd.o] Error 1
  >>make[1]: *** [drivers/block] Error 2
  >>make: *** [drivers] Error 2
 
 
  >>Alimin
 
 
  >Hello Alimin
  >I had similar errors on my FC1 system running kernel ver 2.6.3.Certain 
  >lines in
  >the 'pktcdvd.c' file gave errors>> "undeclared" .I got hint from
  >petero2@xxxxxxxxx and accordingly commented out those lines containing
  >'undeclared' functions and it worked.
  >Murali
 
 
 Could you please be more specific on which lines need to be commented 
 out? Looking at the previous error, I tried commenting out line 1236 in 
 function 'kcdrwd' which contains an if statement with 'PF_IOTHREAD' in 
 it and the resulting pktcdvd.c becomes like this:
 
 			VPRINTK("kcdrwd: sleeping\n");
 			residue = schedule_timeout(min_sleep_time);
 			VPRINTK("kcdrwd: wake up\n");
 
 			/* make swsusp happy with our thread */
 #			if (current->flags & PF_FREEZE)
 #				refrigerator(PF_IOTHREAD);
 #
 			list_for_each_entry(pkt, &pd->cdrw.pkt_active_list, list) {
 				if (!pkt->sleep_time)
 					continue;
 				pkt->sleep_time -= min_sleep_time - residue;
 				if (pkt->sleep_time <= 0) {
 					pkt->sleep_time = 0;
 					atomic_inc(&pkt->run_sm);
 				}
 			}
 
 
 
 
 
 Upon executing 'make' again still produces the following error:
 make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
    CHK     include/linux/compile.h
    CC [M]  drivers/block/pktcdvd.o
 drivers/block/pktcdvd.c:1235:29: missing binary operator before token "("
 drivers/block/pktcdvd.c: In function `kcdrwd':
 drivers/block/pktcdvd.c:1232: error: syntax error at end of input
 drivers/block/pktcdvd.c:59: warning: `pkt_proc' defined but not used
 drivers/block/pktcdvd.c:60: warning: `disks' defined but not used
 drivers/block/pktcdvd.c:79: warning: `pkt_lowlevel_elv_merge_fn' defined 
 but not used
 drivers/block/pktcdvd.c:93: warning: `pkt_lowlevel_elv_completed_req_fn' 
 defined but not used
 drivers/block/pktcdvd.c:108: warning: `pkt_lowlevel_merge_requests_fn' 
 defined but not used
 drivers/block/pktcdvd.c:251: warning: `pkt_grow_pktlist' defined but not 
 used
 drivers/block/pktcdvd.c:479: warning: `pkt_iosched_process_queue' 
 defined but not used
 drivers/block/pktcdvd.c:562: warning: `pkt_set_segment_merging' defined 
 but not used
 drivers/block/pktcdvd.c:861: warning: `pkt_handle_queue' defined but not 
 used
 drivers/block/pktcdvd.c:1118: warning: `pkt_handle_packets' defined but 
 not used
 drivers/block/pktcdvd.c:1168: warning: `kcdrwd' defined but not used
 drivers/block/pktcdvd.c:1235:1: unterminated #if
 make[2]: *** [drivers/block/pktcdvd.o] Error 1
 make[1]: *** [drivers/block] Error 2
 make: *** [drivers] Error 2
 
 
 
 So it looks worse. I am looking forward to your further help here. Thanks.
 
 Alimin
 
 
 -- 
 fedora-list mailing list
 fedora-list@xxxxxxxxxx
 To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

--------------------------
Sent from AventureMail.com - The worlds largest inbox with 2GB of FREE storage!
Signup free for your own address at http://www.aventuremail.com
Report Email Abuse: mail.abuse@xxxxxxxxxxxxxxxxxxxx
Powered by http://www.aventurehost.com



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux