From: Pawlik M. <paw...@du...> - 2005-03-09 10:06:27
|
Hi everyone! Yesterday I tried compile lirc under my Aurox Linux 10.0 (kernel = 2.6.7-10). I have standard Serial Port Receiver and I selected first option in = setup.sh. My configure file generated something like this: setup.sh written by Karsten Scheibler, 1999-JUN-28 =20 If you have problems or questions please consult the mailing list <http://lists.sourceforge.net/mailman/listinfo/lirc-list> =20 Configuration: .setup.config, executable shell script: configure.sh Starting the generated shell script which will call configure with the = right parameters... loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) gawk checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -g -Wall ) works... yes checking whether the C compiler (gcc -O2 -g -Wall ) is a = cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for mknod... (cached) /bin/mknod checking for mkfifo... (cached) /usr/bin/mkfifo checking for depmod... (cached) /sbin/depmod checking for libusb-config... (cached) /usr/bin/libusb-config checking whether ln -s works... (cached) yes checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking for a sed that does not truncate output... (cached) /bin/sed checking how to recognise dependent libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... = yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... (cached) no creating libtool checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) = yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for gethostname... (cached) yes checking for gettimeofday... (cached) yes checking for mkfifo... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strtoul... (cached) yes checking for snprintf... (cached) yes checking for strsep... (cached) yes checking for vsyslog... (cached) yes checking for daemon... (cached) yes checking for forkpty... (cached) no checking for forkpty in -lutil... (cached) yes checking for vga.h... (cached) no checking for X... (cached) libraries /usr/X11R6/lib, headers = /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for getopt_long... (cached) yes checking for mktemp... (cached) yes checking for Linux kernel sources... (cached) /usr/src/linux/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... (cached) no checking for ir_strerror in -lirman... (cached) no checking for ir_strerror in -lirman_sw... (cached) no checking for portaudio.h... (cached) no checking for alsa/asoundlib.h... (cached) yes checking for snd_pcm_open in -lasound... (cached) yes checking for scsi/sg.h... (cached) yes checking for linux/input.h... (cached) yes checking for sys/soundcard.h... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating drivers/Makefile creating drivers/lirc_atiusb/Makefile creating drivers/lirc_bt829/Makefile creating drivers/lirc_dev/Makefile creating drivers/lirc_gpio/Makefile creating drivers/lirc_i2c/Makefile creating drivers/lirc_igorplugusb/Makefile creating drivers/lirc_imon/Makefile creating drivers/lirc_it87/Makefile creating drivers/lirc_mceusb/Makefile creating drivers/lirc_parallel/Makefile creating drivers/lirc_sasem/Makefile creating drivers/lirc_serial/Makefile creating drivers/lirc_sir/Makefile creating drivers/lirc_streamzap/Makefile creating daemons/Makefile creating tools/Makefile creating doc/Makefile creating doc/man/Makefile creating config.h config.h is unchanged =20 You will have to use the lirc_serial kernel module. =20 Now enter 'make' and 'make install' to compile and install the package. Next I typed "make" and had many warnings and errors. Finaly I had: /usr/src/lirc-0.7.1pre2/drivers/lirc_dev/lirc_dev.c:769: warning: excess = elements in struct initializer /usr/src/lirc-0.7.1pre2/drivers/lirc_dev/lirc_dev.c:769: warning: (near = initialization for `fops') include/linux/elf.h:426: warning: array `_DYNAMIC' assumed to have one = element include/linux/sched.h:208: error: storage size of `mmap_sem' isn't known include/linux/sched.h:241: error: storage size of `default_kioctx' isn't = known include/linux/sched.h:266: error: storage size of `shared_pending' isn't = known include/linux/sched.h:462: error: storage size of `rlim' isn't known include/linux/sched.h:470: error: storage size of `thread' isn't known include/linux/sched.h:482: error: storage size of `pending' isn't known include/linux/stat.h:68: error: storage size of `atime' isn't known include/linux/stat.h:69: error: storage size of `mtime' isn't known include/linux/stat.h:70: error: storage size of `ctime' isn't known include/linux/fs.h:269: error: storage size of `ia_atime' isn't known include/linux/fs.h:270: error: storage size of `ia_mtime' isn't known include/linux/fs.h:271: error: storage size of `ia_ctime' isn't known include/linux/quota.h:224: error: storage size of `dq_dqb' isn't known include/linux/fs.h:349: error: storage size of `bd_sem' isn't known include/linux/fs.h:350: error: storage size of `bd_mount_sem' isn't = known include/linux/fs.h:423: error: storage size of `i_atime' isn't known include/linux/fs.h:424: error: storage size of `i_mtime' isn't known include/linux/fs.h:425: error: storage size of `i_ctime' isn't known include/linux/fs.h:432: error: storage size of `i_sem' isn't known include/linux/fs.h:433: error: storage size of `i_alloc_sem' isn't known include/linux/fs.h:439: error: storage size of `i_data' isn't known include/linux/fs.h:566: error: storage size of `f_owner' isn't known include/linux/fs.h:739: error: storage size of `s_umount' isn't known include/linux/fs.h:740: error: storage size of `s_lock' isn't known include/linux/fs.h:767: error: storage size of `s_vfs_rename_sem' isn't = known include/linux/device.h:380: error: storage size of `dev' isn't known /usr/src/lirc-0.7.1pre2/drivers/lirc_dev/lirc_dev.c:762: error: storage = size of `fops' isn't known make[5]: *** [/usr/src/lirc-0.7.1pre2/drivers/lirc_dev/lirc_dev.o] B??d = 1 make[4]: *** [_module_/usr/src/lirc-0.7.1pre2/drivers/lirc_dev] B=B3=B1d = 2 make[4]: Leaving directory `/usr/src/linux-2.6.7-10.0.aur.9' make[3]: *** [lirc_dev.o] B=B3=B1d 2 make[3]: Leaving directory `/usr/src/lirc-0.7.1pre2/drivers/lirc_dev' make[2]: *** [all-recursive] B=B3=B1d 1 make[2]: Leaving directory `/usr/src/lirc-0.7.1pre2/drivers' make[1]: *** [all-recursive] B=B3=B1d 1 make[1]: Leaving directory `/usr/src/lirc-0.7.1pre2' make: *** [all] B=B3=B1d 2 Thanks for help and any sugestion. P.S. My configation: Aurox linux 10.0 (kernel 2.6.7-10), 128 MB RAM, Intel = Pentium II 400 MHz,=20 Sory for my English (I start lerning not long ago). |