LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2006, 08:13 AM   #1
Zmei_91
LQ Newbie
 
Registered: May 2006
Location: Russia
Posts: 1

Rep: Reputation: 0
Modem


Hi,friends in Debian Linux 3.1 r1 at installation of drivers on modem Intel 536EP there was such mistake:
Code:
debian:/mnt/wind/Linux/Intel-536# make clean
      `uname --help'                      .
cd coredrv; make clean
make[1]: Entering directory `/mnt/wind/Linux/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/mnt/wind/Linux/Intel-536/coredrv'
rm -f *.o *.ko
debian:/mnt/wind/Linux/Intel-536# make 536
      `uname --help'                       .
   Module precompile check
   Current running kernel is: 2.4.27-2-386
   /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
   autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
   version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 ||  uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [  ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
       "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
        fi; \
cp Intel536.o ..; \
if [ -a /boot/vmlinuz.version.h ]; then \
        cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
        fi
make[1]: Entering directory `/mnt/wind/Linux/Intel-536/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH   -c -o coredrv.o coredrv.c
coredrv.c:51:29: linux/pm_legacy.h: No such file or directory
coredrv.c: In function `tty_buffer_alloc':
coredrv.c:67: error: invalid application of `sizeof' to an incomplete type
coredrv.c:70: error: dereferencing pointer to incomplete type
coredrv.c:71: error: dereferencing pointer to incomplete type
coredrv.c:72: error: dereferencing pointer to incomplete type
coredrv.c:73: error: dereferencing pointer to incomplete type
coredrv.c:74: error: dereferencing pointer to incomplete type
coredrv.c:75: error: dereferencing pointer to incomplete type
coredrv.c:76: error: dereferencing pointer to incomplete type
coredrv.c:76: error: dereferencing pointer to incomplete type
coredrv.c:77: error: dereferencing pointer to incomplete type
coredrv.c:77: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_buffer_find':
coredrv.c:84: error: structure has no member named `buf'
coredrv.c:87: error: dereferencing pointer to incomplete type
coredrv.c:88: error: dereferencing pointer to incomplete type
coredrv.c:89: error: dereferencing pointer to incomplete type
coredrv.c:90: error: dereferencing pointer to incomplete type
coredrv.c:91: error: dereferencing pointer to incomplete type
coredrv.c:92: error: dereferencing pointer to incomplete type
coredrv.c:98: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_buffer_request_room':
coredrv.c:113: error: structure has no member named `buf'
coredrv.c:118: error: structure has no member named `buf'
coredrv.c:119: error: dereferencing pointer to incomplete type
coredrv.c:119: error: dereferencing pointer to incomplete type
coredrv.c:120: error: dereferencing pointer to incomplete type
coredrv.c:128: error: dereferencing pointer to incomplete type
coredrv.c:129: error: dereferencing pointer to incomplete type
coredrv.c:130: error: dereferencing pointer to incomplete type
coredrv.c:130: error: dereferencing pointer to incomplete type
coredrv.c:132: error: structure has no member named `buf'
coredrv.c:133: error: structure has no member named `buf'
coredrv.c:134: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_insert_flip_string_flags':
coredrv.c:148: error: structure has no member named `buf'
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:154: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_insert_flip_char':
coredrv.c:167: error: structure has no member named `buf'
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:170: error: dereferencing pointer to incomplete type
coredrv.c:170: error: dereferencing pointer to incomplete type
coredrv.c:171: error: dereferencing pointer to incomplete type
coredrv.c:171: error: dereferencing pointer to incomplete type
coredrv.c: At top level:
coredrv.c:991: warning: initialization makes integer from pointer without a cast
coredrv.c:404: warning: `power_callback' defined but not used
make[1]: *** [coredrv.o]     1
make[1]: Leaving directory `/mnt/wind/Linux/Intel-536/coredrv'
cp:            stat    `Intel536.o': No such file or directory
debian:/mnt/wind/Linux/Intel-536#
What is it?.

---------------------------------------
Excuse for bad English
 
Old 06-07-2006, 01:52 PM   #2
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
"coredrv.c:51:29: linux/pm_legacy.h: No such file or directory"

Evidently, it can't find that header file anywhere.

Try "locate pm_legacy".

You could go here: http://www.debian.org/distrib/packages and search the contents of packages for files named pm_legacy.h...

Though, you might just try googling for pm_legacy.h.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difficulties in modem instalation Agere systems PCI soft modem mcstanoye SUSE / openSUSE 2 02-01-2007 10:48 AM
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 04:12 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 09:21 AM
modem suddenly not working, slackware 10, netcomm in5699 56k modem ludeKing Linux - Hardware 0 07-27-2004 09:44 PM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration