Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
fmayaturk
Posts: 9
Joined: 29 Sep 2009, 15:10
Location: Turkey

I can't make integrated install on Pardus 2009.1

Post by fmayaturk » 20 Jan 2010, 12:01

Hi again!
I have a integrated install problem in another machine on Pardus-Linux. The code is like this

Code: Select all

# make integrated_install
make -f Makefile.integrated install
make[1]:`/home/sumeyya/İndirilenler/usb_modeswitch-1.0.7' dizinine giriliyor
/bin/rm -f ./usb_modeswitch
gcc -Wall -l usb -DUSE_SYSLOG -o usb_modeswitch usb_modeswitch.c
In file included from /usr/include/signal.h:333,
                 from usb_modeswitch.c:61:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/limits.h:122,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/limits.h:11,
                 from /usr/include/usb.h:16,
                 from usb_modeswitch.c:69:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory
In file included from usb_modeswitch.c:69:
/usr/include/usb.h:244: error: 'PATH_MAX' undeclared here (not in a function)

*** 3 errors, 0 warnings
make[1]: *** [usb_modeswitch] Hata 1
make[1]: `/home/sumeyya/İndirilenler/usb_modeswitch-1.0.7' dizininden çıkılıyor
make: *** [integrated_install] Hata 2
Hata means Error in Turkish.
By Pardus there is no libusb-dev package. But the both usb library packages (libusb and libusb1) are installed. And I was made integrated install successfull on my other Pardus installed machine.
I see that some files are failed. But I don't know what should I do.

sakis
Posts: 48
Joined: 05 Jan 2010, 03:31
Location: Athens, Greece
Contact:

Post by sakis » 20 Jan 2010, 19:10

Hi,

it is not libusb headers that are missing. It is kernel-headers package that needs to be installed on your Pardus installation for installation to continue.

Sakis

fmayaturk
Posts: 9
Joined: 29 Sep 2009, 15:10
Location: Turkey

Post by fmayaturk » 21 Jan 2010, 12:59

thank you Sakis! I will try it.

Post Reply