Did you ever get this resolved?

Did you want to post scsi.h somewhere?  There's probably an #ifdef error
in pre-processing.

Find the SuSe Port Maintainer?

~BAS


On Thu, 2007-04-12 at 17:42 -0300, João Henrique Freitas wrote:
> 
> 
> Hello
> 
> Anybody has sucessful compiling bacula 2.0.3 on SUSE SLES 9 with SP3?
> 
> To compile I used the script
> bacula-2.0.3/platforms/contrib-rpm/build_rpm.sh and the mtx fail.
> 
> My infos are:
> 
> kernel source: 2.6.5-7.283-default
> 
> The output of ./configure and the make output is attached.
> 
> But, if I change the sybolic link of the kernel-sources to
> linux-2.6.5-7.244, the bacula compiling without problems.
> 
> Thanks 
> 
> ------------------ config.out -------------------------
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:575: checking host system type 
> configure:596: checking target system type
> configure:614: checking build system type
> configure:687: checking for gcc
> configure:800: checking whether the C compiler (gcc
> -L/usr/lib/termcap) works
> configure:816: gcc -o conftest    -L/usr/lib/termcap conftest.c  1>&5
> configure:842: checking whether the C compiler (gcc
> -L/usr/lib/termcap) is a cross-compiler
> configure:847: checking whether we are using GNU C
> configure:875: checking whether gcc accepts -g 
> configure:918: checking for a BSD compatible install
> configure:972: checking how to run the C preprocessor
> configure:1052: checking for ANSI C header files
> configure:1185: checking for unistd.h
> configure:1185: checking for stdlib.h
> configure:1185: checking for errno.h
> configure:1185: checking for fcntl.h
> configure:1185: checking for stdarg.h
> configure:1185: checking for string.h
> configure:1185: checking for scsi/scsi.h
> configure:1185: checking for scsi/scsi_ioctl.h 
> configure:1185: checking for scsi/sg.h
> configure:1185: checking for sys/gscdds.h
> configure:1185: checking for camlib.h
> configure:1185: checking for cam/cam_ccb.h
> configure:1185: checking for cam/scsi/scsi_message.h 
> configure:1185: checking for sys/fsid.h
> configure:1185: checking for sys/fstyp.h
> configure:1185: checking for sys/stat.h
> configure:1185: checking for sys/types.h
> configure:1185: checking for sys/mnttab.h
> configure:1185: checking for sys/param.h
> configure:1185: checking for sys/time.h
> configure:1185: checking for sys/scsi/impl/uscsi.h
> configure:1185: checking for sys/scsi.h
> configure:1185: checking for sys/scsi_ctl.h 
> configure:1185: checking for sys/ioctl.h
> configure:1185: checking for dslib.h
> configure:1185: checking for du/defs.h
> configure:1223: checking for working const
> configure:1298: checking for size_t
> configure:1331: checking for pid_t 
> configure:1364: checking whether time.h and sys/time.h may both be
> included
> configure:1399: checking whether struct tm is in sys/time.h or time.h
> configure:1433: checking size of int
> configure:1472: checking size of long 
> configure:1511: checking whether byte ordering is bigendian
> configure:1605: checking return type of signal handlers
> configure:1646: checking for vprintf
> 
> ---------------- make output --------------------------- 
> gcc -g -O2 -Wall -DVERSION="\"1.2.18rel\"" -I/usr/src/linux/include
> -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtx.o mtx.c
> In file included from mtx.h:65,
>                  from mtx.c:39:
> /usr/src/linux/include/scsi/scsi.h:223: error: parse error before
> "u8" 
> /usr/src/linux/include/scsi/scsi.h:223: warning: no semicolon at end
> of struct or union
> /usr/src/linux/include/scsi/scsi.h:224: warning: type defaults to
> `int' in declaration of `medium'
> /usr/src/linux/include/scsi/scsi.h:224: warning: data definition has
> no type or storage class 
> /usr/src/linux/include/scsi/scsi.h:225: error: parse error before
> "_r2"
> /usr/src/linux/include/scsi/scsi.h:225: warning: type defaults to
> `int' in declaration of `_r2'
> /usr/src/linux/include/scsi/scsi.h:225: warning: data definition has
> no type or storage class 
> /usr/src/linux/include/scsi/scsi.h:226: error: parse error before
> "block_desc_length"
> /usr/src/linux/include/scsi/scsi.h:226: warning: type defaults to
> `int' in declaration of `block_desc_length'
> /usr/src/linux/include/scsi/scsi.h:226: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:227: error: parse error before
> "density"
> /usr/src/linux/include/scsi/scsi.h:227: warning: type defaults to
> `int' in declaration of `density' 
> /usr/src/linux/include/scsi/scsi.h:227: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:228: error: parse error before
> "number_blocks_hi"
> /usr/src/linux/include/scsi/scsi.h:228: warning: type defaults to
> `int' in declaration of `number_blocks_hi' 
> /usr/src/linux/include/scsi/scsi.h:228: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:229: error: parse error before
> "number_blocks_med"
> /usr/src/linux/include/scsi/scsi.h:229: warning: type defaults to
> `int' in declaration of `number_blocks_med' 
> /usr/src/linux/include/scsi/scsi.h:229: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:230: error: parse error before
> "number_blocks_lo"
> /usr/src/linux/include/scsi/scsi.h:230: warning: type defaults to
> `int' in declaration of `number_blocks_lo' 
> /usr/src/linux/include/scsi/scsi.h:230: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:231: error: parse error before
> "_r3"
> /usr/src/linux/include/scsi/scsi.h:231: warning: type defaults to
> `int' in declaration of `_r3' 
> /usr/src/linux/include/scsi/scsi.h:231: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:232: error: parse error before
> "block_length_hi"
> /usr/src/linux/include/scsi/scsi.h:232: warning: type defaults to
> `int' in declaration of `block_length_hi' 
> /usr/src/linux/include/scsi/scsi.h:232: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:233: error: parse error before
> "block_length_med"
> /usr/src/linux/include/scsi/scsi.h:233: warning: type defaults to
> `int' in declaration of `block_length_med' 
> /usr/src/linux/include/scsi/scsi.h:233: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:234: error: parse error before
> "block_length_lo"
> /usr/src/linux/include/scsi/scsi.h:234: warning: type defaults to
> `int' in declaration of `block_length_lo' 
> /usr/src/linux/include/scsi/scsi.h:234: warning: data definition has
> no type or storage class
> /usr/src/linux/include/scsi/scsi.h:241: error: parse error before "u8"
> /usr/src/linux/include/scsi/scsi.h:241: warning: no semicolon at end
> of struct or union 
> gmake: *** [mtx.o] Error 1
> 
> -- 
> -------------------------------------------------------------
> João Henrique Freitas - joaohf_at_gmail.com
> Americana-SP-Brasil
> BSD051283
> LPI 1
> http://paginas.terra.com.br/informatica/joaohf
> http://www.livejournal.com/users/joaohf/ 
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ Bacula-users mailing list 
> Bacula-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to