Gå til innhold

wlan og skjerm problem ubuntu


EX-adrin

Anbefalte innlegg

Hei

Jeg har en laptop som jeg har ubuntu på. Men jeg slitter veldig med og få driveren og scanning prosesen til og fungere. jeg har følt mange guider på nette for og få wlanen til og virke men uten resultat. har installert via driveren via ndiswrapper uten hell

Noen som har noen andre smarte løsninger?

driveren heter BCM4318.

 

Jeg slitter også med og få skiftet på opløsningen på skjermen. den kjører 800x600.

Men jeg sko gjerna ha hatt 1024x720 eller 1200x900 tallene stemmer ikke helt 100% for jeg har dem ikke foran mg nå. Har fixet i xorg.conf men de instillingen kom ikke opp dessvære. Har rebootet flere ganger etter den tid. Noen annen løsning ute og går ??

 

maskinen er en fujitsu simenes amilio pro v2055.

 

utdrag fra xorc.conf fila mi:

Klikk for å se/fjerne innholdet nedenfor
Section "Screen"

Identifier "Default Screen"

Device "Generic Video Card"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 4

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 8

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 15

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 16

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768" "800x600" "640x480"

EndSubSection

EndSection

 

 

EX-adrin

Endret av EX-adrin
Lenke til kommentar
Videoannonse
Annonse

Her er det jeg får opp når jeg skriver lspci:

 

Klikk for å se/fjerne innholdet nedenfor
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge

00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge

00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge

00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge

00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge

00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge

00:06.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

00:0c.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)

00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)

01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)

Lenke til kommentar

Trådløst:

Regner med at du har prøvd denne?

https://help.ubuntu.com/community/WifiDocs/...orce_One_54g%5D

 

Skjerm:

Alt+F2 -> gnome-terminal

sudo cp "/etc/X11/xorg.conf" "/etc/X11/xorg.conf.bak"

gksudo gedit "/etc/X11/xorg.conf"

 

Du skrev noe om at oppløsningene du oppgav ikke var helt riktige -

bytt ut "1200x900" "1024x720" med de riktige tallene.

Klikk for å se/fjerne innholdet nedenfor
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

 

Det virker som om kortet ditt blir gjenkjent som et VESA-kort, (generic card) mens det er et VIA-kort, kan du poste hele xorg.conf?

Endret av Kagee
Lenke til kommentar

jeg kan ta og poste hele xorg.conf fila. Her er den:

Klikk for å se/fjerne innholdet nedenfor
# /etc/X11/xorg.conf (xorg X Window System server configuration file)

#

# This file was generated by dexconf, the Debian X Configuration tool, using

# values from the debconf database.

#

# Edit this file with caution, and see the xorg.conf(5) manual page.

# (Type "man xorg.conf" at the shell prompt.)

#

# This file is automatically updated on xserver-xorg package upgrades *only*

# if it has not been modified since the last upgrade of the xserver-xorg

# package.

#

# If you have edited this file but would like it to be automatically updated

# again, run the following command:

# sudo dpkg-reconfigure -phigh xserver-xorg

 

Section "Files"

FontPath "/usr/share/fonts/X11/misc"

FontPath "/usr/share/fonts/X11/cyrillic"

FontPath "/usr/share/fonts/X11/100dpi/:unscaled"

FontPath "/usr/share/fonts/X11/75dpi/:unscaled"

FontPath "/usr/share/fonts/X11/Type1"

FontPath "/usr/share/fonts/X11/100dpi"

FontPath "/usr/share/fonts/X11/75dpi"

# path to defoma fonts

FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

 

Section "Module"

Load "i2c"

Load "bitmap"

Load "ddc"

Load "dri"

Load "extmod"

Load "freetype"

Load "glx"

Load "int10"

Load "vbe"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "no"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "true"

EndSection

 

Section "InputDevice"

Identifier "Synaptics Touchpad"

Driver "synaptics"

Option "SendCoreEvents" "true"

Option "Device" "/dev/psaux"

Option "Protocol" "auto-dev"

Option "HorizScrollDelta" "0"

EndSection

 

Section "InputDevice"

Driver "wacom"

Identifier "stylus"

Option "Device" "/dev/input/wacom"

Option "Type" "stylus"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "InputDevice"

Driver "wacom"

Identifier "eraser"

Option "Device" "/dev/input/wacom"

Option "Type" "eraser"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "InputDevice"

Driver "wacom"

Identifier "cursor"

Option "Device" "/dev/input/wacom"

Option "Type" "cursor"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "Device"

Identifier "Generic Video Card"

Driver "vesa"

BusID "PCI:1:0:0"

EndSection

 

Section "Monitor"

Identifier "Generic Monitor"

Option "DPMS"

EndSection

 

Section "Screen"

Section "Screen"

Identifier "Default Screen"

Device "Generic Video Card"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 4

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 8

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 15

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 16

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 24

Modes "1200x900" "1024x720" "1024x768" "800x600" "640x480"

EndSubSection

EndSection

 

Section "ServerLayout"

Identifier "Default Layout"

Screen "Default Screen"

InputDevice "Generic Keyboard"

InputDevice "Configured Mouse"

InputDevice "stylus" "SendCoreEvents"

InputDevice "cursor" "SendCoreEvents"

InputDevice "eraser" "SendCoreEvents"

InputDevice "Synaptics Touchpad"

EndSection

 

Section "DRI"

Mode 0666

EndSection

 

Jeg har ikke følt den guiden. Men mange like rundt på nette:P ska prøve meg på denne også og se om det går da;)

Endret av EX-adrin
Lenke til kommentar

hehe merket det:P mn får prøve meg fram :p på akruatt det.

 

Men jeg får vertfall en haug med feilmeldinger etter at jeg har skjørt comandoen

sudo make install

da står jeg i rett mappe og har kjørt make først ;)

 

Klikk for å se/fjerne innholdet nedenfor
make -C driver

make[1]: Entering directory `/home/ex-adrin/ndiswrapper-1.48/driver'

make -C /usr/src/linux-headers-2.6.20-15-generic SUBDIRS=/home/ex-adrin/ndiswrapper-1.48/driver

make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'

make[1]: Leaving directory `/home/ex-adrin/ndiswrapper-1.48/driver'

make -C utils

make[1]: Entering directory `/home/ex-adrin/ndiswrapper-1.48/utils'

gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c

loadndisdriver.c:15:20: error: stdlib.h: No such file or directory

loadndisdriver.c:16:19: error: stdio.h: No such file or directory

loadndisdriver.c:17:19: error: errno.h: No such file or directory

loadndisdriver.c:18:20: error: string.h: No such file or directory

loadndisdriver.c:19:20: error: libgen.h: No such file or directory

loadndisdriver.c:21:22: error: sys/mman.h: No such file or directory

loadndisdriver.c:23:23: error: sys/types.h: No such file or directory

loadndisdriver.c:24:23: error: sys/ioctl.h: No such file or directory

loadndisdriver.c:25:22: error: sys/stat.h: No such file or directory

loadndisdriver.c:26:20: error: unistd.h: No such file or directory

loadndisdriver.c:27:19: error: fcntl.h: No such file or directory

In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,

from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,

from loadndisdriver.c:28:

/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory

loadndisdriver.c:29:19: error: ctype.h: No such file or directory

loadndisdriver.c:30:20: error: dirent.h: No such file or directory

loadndisdriver.c:31:20: error: syslog.h: No such file or directory

loadndisdriver.c:34:25: error: linux/major.h: No such file or directory

loadndisdriver.c:35:25: error: linux/ioctl.h: No such file or directory

In file included from loadndisdriver.c:37:

../driver/loader.h:24: error: expected specifier-qualifier-list before ‘size_t’

loadndisdriver.c: In function ‘load_file’:

loadndisdriver.c:67: error: ‘size_t’ undeclared (first use in this function)

loadndisdriver.c:67: error: (Each undeclared identifier is reported only once

loadndisdriver.c:67: error: for each function it appears in.)

loadndisdriver.c:67: error: expected ‘;’ before ‘size’

loadndisdriver.c:68: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:69: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:71: warning: implicit declaration of function ‘basename’

loadndisdriver.c:71: warning: initialization makes pointer from integer without a cast

loadndisdriver.c:73: warning: implicit declaration of function ‘open’

loadndisdriver.c:73: error: ‘O_RDONLY’ undeclared (first use in this function)

loadndisdriver.c:75: warning: implicit declaration of function ‘syslog’

loadndisdriver.c:75: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:75: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:75: warning: implicit declaration of function ‘strerror’

loadndisdriver.c:75: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:76: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:79: warning: implicit declaration of function ‘fstat’

loadndisdriver.c:81: warning: implicit declaration of function ‘close’

loadndisdriver.c:84: error: ‘size’ undeclared (first use in this function)

loadndisdriver.c:86: warning: implicit declaration of function ‘mmap’

loadndisdriver.c:86: error: ‘PROT_READ’ undeclared (first use in this function)

loadndisdriver.c:86: error: ‘MAP_PRIVATE’ undeclared (first use in this function)

loadndisdriver.c:86: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:87: error: ‘MAP_FAILED’ undeclared (first use in this function)

loadndisdriver.c:93: warning: implicit declaration of function ‘strncpy’

loadndisdriver.c:93: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:95: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:96: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:69: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘parse_setting_line’:

loadndisdriver.c:109: warning: implicit declaration of function ‘isspace’

loadndisdriver.c:115: warning: implicit declaration of function ‘strchr’

loadndisdriver.c:115: warning: incompatible implicit declaration of built-in function ‘strchr’

loadndisdriver.c:115: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:117: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:117: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:118: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:138: warning: implicit declaration of function ‘strlen’

loadndisdriver.c:138: warning: incompatible implicit declaration of built-in function ‘strlen’

loadndisdriver.c: In function ‘read_conf_file’:

loadndisdriver.c:150: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:151: error: ‘FILE’ undeclared (first use in this function)

loadndisdriver.c:151: error: ‘config’ undeclared (first use in this function)

loadndisdriver.c:157: warning: implicit declaration of function ‘lstat’

loadndisdriver.c:158: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:158: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:158: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:160: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:163: warning: implicit declaration of function ‘sscanf’

loadndisdriver.c:163: warning: incompatible implicit declaration of built-in function ‘sscanf’

loadndisdriver.c:178: warning: implicit declaration of function ‘fopen’

loadndisdriver.c:178: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:182: warning: implicit declaration of function ‘fgets’

loadndisdriver.c:194: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:205: warning: implicit declaration of function ‘fclose’

loadndisdriver.c:150: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘load_bin_file’:

loadndisdriver.c:217: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:217: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:219: warning: implicit declaration of function ‘tolower’

loadndisdriver.c:221: warning: implicit declaration of function ‘chdir’

loadndisdriver.c:222: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:224: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:230: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:232: warning: implicit declaration of function ‘ioctl’

loadndisdriver.c:232: warning: implicit declaration of function ‘_IOW’

loadndisdriver.c:232: error: expected expression before ‘struct’

loadndisdriver.c: In function ‘load_driver’:

loadndisdriver.c:249: error: ‘DIR’ undeclared (first use in this function)

loadndisdriver.c:249: error: ‘driver_dir’ undeclared (first use in this function)

loadndisdriver.c:251: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:255: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:255: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:257: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:259: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:261: warning: implicit declaration of function ‘opendir’

loadndisdriver.c:267: warning: implicit declaration of function ‘malloc’

loadndisdriver.c:267: warning: incompatible implicit declaration of built-in function ‘malloc’

loadndisdriver.c:271: warning: implicit declaration of function ‘memset’

loadndisdriver.c:271: warning: incompatible implicit declaration of built-in function ‘memset’

loadndisdriver.c:272: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:280: warning: implicit declaration of function ‘readdir’

loadndisdriver.c:280: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:282: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:284: error: dereferencing pointer to incomplete type

loadndisdriver.c:287: warning: implicit declaration of function ‘stat’

loadndisdriver.c:287: error: dereferencing pointer to incomplete type

loadndisdriver.c:288: warning: implicit declaration of function ‘S_ISREG’

loadndisdriver.c:289: error: dereferencing pointer to incomplete type

loadndisdriver.c:294: warning: incompatible implicit declaration of built-in function ‘strlen’

loadndisdriver.c:294: error: dereferencing pointer to incomplete type

loadndisdriver.c:296: warning: implicit declaration of function ‘strcasecmp’

loadndisdriver.c:296: error: dereferencing pointer to incomplete type

loadndisdriver.c:299: error: dereferencing pointer to incomplete type

loadndisdriver.c:302: error: dereferencing pointer to incomplete type

loadndisdriver.c:303: error: dereferencing pointer to incomplete type

loadndisdriver.c:305: error: dereferencing pointer to incomplete type

loadndisdriver.c:311: error: dereferencing pointer to incomplete type

loadndisdriver.c:312: error: dereferencing pointer to incomplete type

loadndisdriver.c:313: warning: implicit declaration of function ‘strcpy’

loadndisdriver.c:313: warning: incompatible implicit declaration of built-in function ‘strcpy’

loadndisdriver.c:314: error: dereferencing pointer to incomplete type

loadndisdriver.c:317: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:318: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:321: error: dereferencing pointer to incomplete type

loadndisdriver.c:282: warning: unused variable ‘statbuf’

loadndisdriver.c:344: error: expected expression before ‘struct’

loadndisdriver.c:346: warning: implicit declaration of function ‘closedir’

loadndisdriver.c:348: warning: implicit declaration of function ‘free’

loadndisdriver.c:355: warning: implicit declaration of function ‘munmap’

loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c: In function ‘get_device’:

loadndisdriver.c:367: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:370: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:370: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:373: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:374: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:376: warning: implicit declaration of function ‘snprintf’

loadndisdriver.c:376: warning: incompatible implicit declaration of built-in function ‘snprintf’

loadndisdriver.c:407: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:367: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘load_device’:

loadndisdriver.c:419: error: ‘DIR’ undeclared (first use in this function)

loadndisdriver.c:419: error: ‘dir’ undeclared (first use in this function)

loadndisdriver.c:423: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:423: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:424: warning: incompatible implicit declaration of built-in function ‘memset’

loadndisdriver.c:426: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:427: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:429: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:434: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:435: error: dereferencing pointer to incomplete type

loadndisdriver.c:436: error: dereferencing pointer to incomplete type

loadndisdriver.c:439: error: dereferencing pointer to incomplete type

loadndisdriver.c:447: error: expected expression before ‘struct’

loadndisdriver.c: In function ‘get_ioctl_device’:

loadndisdriver.c:464: error: ‘FILE’ undeclared (first use in this function)

loadndisdriver.c:464: error: ‘proc_misc’ undeclared (first use in this function)

loadndisdriver.c:472: warning: implicit declaration of function ‘strstr’

loadndisdriver.c:472: warning: incompatible implicit declaration of built-in function ‘strstr’

loadndisdriver.c:473: warning: implicit declaration of function ‘strtol’

loadndisdriver.c:473: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:483: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:483: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:488: warning: implicit declaration of function ‘unlink’

loadndisdriver.c:489: warning: implicit declaration of function ‘mknod’

loadndisdriver.c:489: error: ‘S_IFCHR’ undeclared (first use in this function)

loadndisdriver.c:489: error: ‘MISC_MAJOR’ undeclared (first use in this function)

loadndisdriver.c:490: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:495: error: ‘O_RDONLY’ undeclared (first use in this function)

loadndisdriver.c: In function ‘main’:

loadndisdriver.c:511: warning: implicit declaration of function ‘openlog’

loadndisdriver.c:511: error: ‘LOG_PERROR’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_CONS’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_DEBUG’ undeclared (first use in this function)

loadndisdriver.c:513: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:515: warning: implicit declaration of function ‘strncmp’

loadndisdriver.c:517: warning: implicit declaration of function ‘printf’

loadndisdriver.c:517: warning: incompatible implicit declaration of built-in function ‘printf’

loadndisdriver.c:527: warning: implicit declaration of function ‘atoi’

loadndisdriver.c:542: warning: implicit declaration of function ‘atof’

loadndisdriver.c:549: warning: implicit declaration of function ‘strcmp’

loadndisdriver.c:556: warning: incompatible implicit declaration of built-in function ‘sscanf’

loadndisdriver.c:590: warning: implicit declaration of function ‘closelog’

make[1]: *** [loadndisdriver] Error 1

make[1]: Leaving directory `/home/ex-adrin/ndiswrapper-1.48/utils'

make: *** [all] Error 2

ex-adrin@ex-adrin-laptop:~/ndiswrapper-1.48$ sudo make install

Password:

make -C driver install

make[1]: Entering directory `/home/ex-adrin/ndiswrapper-1.48/driver'

make -C /usr/src/linux-headers-2.6.20-15-generic SUBDIRS=/home/ex-adrin/ndiswrapper-1.48/driver

make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'

Building modules, stage 2.

MODPOST 1 modules

make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'

echo /lib/modules/2.6.20-15-generic/misc

/lib/modules/2.6.20-15-generic/misc

mkdir -p /lib/modules/2.6.20-15-generic/misc

install -m 0644 ndiswrapper.ko /lib/modules/2.6.20-15-generic/misc

/sbin/depmod -a 2.6.20-15-generic -b /

make[1]: Leaving directory `/home/ex-adrin/ndiswrapper-1.48/driver'

make -C utils install

make[1]: Entering directory `/home/ex-adrin/ndiswrapper-1.48/utils'

gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c

loadndisdriver.c:15:20: error: stdlib.h: No such file or directory

loadndisdriver.c:16:19: error: stdio.h: No such file or directory

loadndisdriver.c:17:19: error: errno.h: No such file or directory

loadndisdriver.c:18:20: error: string.h: No such file or directory

loadndisdriver.c:19:20: error: libgen.h: No such file or directory

loadndisdriver.c:21:22: error: sys/mman.h: No such file or directory

loadndisdriver.c:23:23: error: sys/types.h: No such file or directory

loadndisdriver.c:24:23: error: sys/ioctl.h: No such file or directory

loadndisdriver.c:25:22: error: sys/stat.h: No such file or directory

loadndisdriver.c:26:20: error: unistd.h: No such file or directory

loadndisdriver.c:27:19: error: fcntl.h: No such file or directory

In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,

from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,

from loadndisdriver.c:28:

/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory

loadndisdriver.c:29:19: error: ctype.h: No such file or directory

loadndisdriver.c:30:20: error: dirent.h: No such file or directory

loadndisdriver.c:31:20: error: syslog.h: No such file or directory

loadndisdriver.c:34:25: error: linux/major.h: No such file or directory

loadndisdriver.c:35:25: error: linux/ioctl.h: No such file or directory

In file included from loadndisdriver.c:37:

../driver/loader.h:24: error: expected specifier-qualifier-list before ‘size_t’

loadndisdriver.c: In function ‘load_file’:

loadndisdriver.c:67: error: ‘size_t’ undeclared (first use in this function)

loadndisdriver.c:67: error: (Each undeclared identifier is reported only once

loadndisdriver.c:67: error: for each function it appears in.)

loadndisdriver.c:67: error: expected ‘;’ before ‘size’

loadndisdriver.c:68: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:69: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:71: warning: implicit declaration of function ‘basename’

loadndisdriver.c:71: warning: initialization makes pointer from integer without a cast

loadndisdriver.c:73: warning: implicit declaration of function ‘open’

loadndisdriver.c:73: error: ‘O_RDONLY’ undeclared (first use in this function)

loadndisdriver.c:75: warning: implicit declaration of function ‘syslog’

loadndisdriver.c:75: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:75: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:75: warning: implicit declaration of function ‘strerror’

loadndisdriver.c:75: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:76: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:79: warning: implicit declaration of function ‘fstat’

loadndisdriver.c:81: warning: implicit declaration of function ‘close’

loadndisdriver.c:84: error: ‘size’ undeclared (first use in this function)

loadndisdriver.c:86: warning: implicit declaration of function ‘mmap’

loadndisdriver.c:86: error: ‘PROT_READ’ undeclared (first use in this function)

loadndisdriver.c:86: error: ‘MAP_PRIVATE’ undeclared (first use in this function)

loadndisdriver.c:86: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:87: error: ‘MAP_FAILED’ undeclared (first use in this function)

loadndisdriver.c:93: warning: implicit declaration of function ‘strncpy’

loadndisdriver.c:93: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:95: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:96: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:69: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘parse_setting_line’:

loadndisdriver.c:109: warning: implicit declaration of function ‘isspace’

loadndisdriver.c:115: warning: implicit declaration of function ‘strchr’

loadndisdriver.c:115: warning: incompatible implicit declaration of built-in function ‘strchr’

loadndisdriver.c:115: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:117: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:117: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:118: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:138: warning: implicit declaration of function ‘strlen’

loadndisdriver.c:138: warning: incompatible implicit declaration of built-in function ‘strlen’

loadndisdriver.c: In function ‘read_conf_file’:

loadndisdriver.c:150: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:151: error: ‘FILE’ undeclared (first use in this function)

loadndisdriver.c:151: error: ‘config’ undeclared (first use in this function)

loadndisdriver.c:157: warning: implicit declaration of function ‘lstat’

loadndisdriver.c:158: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:158: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:158: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:160: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:163: warning: implicit declaration of function ‘sscanf’

loadndisdriver.c:163: warning: incompatible implicit declaration of built-in function ‘sscanf’

loadndisdriver.c:178: warning: implicit declaration of function ‘fopen’

loadndisdriver.c:178: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:182: warning: implicit declaration of function ‘fgets’

loadndisdriver.c:194: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:205: warning: implicit declaration of function ‘fclose’

loadndisdriver.c:150: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘load_bin_file’:

loadndisdriver.c:217: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:217: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:219: warning: implicit declaration of function ‘tolower’

loadndisdriver.c:221: warning: implicit declaration of function ‘chdir’

loadndisdriver.c:222: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:224: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:230: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:232: warning: implicit declaration of function ‘ioctl’

loadndisdriver.c:232: warning: implicit declaration of function ‘_IOW’

loadndisdriver.c:232: error: expected expression before ‘struct’

loadndisdriver.c: In function ‘load_driver’:

loadndisdriver.c:249: error: ‘DIR’ undeclared (first use in this function)

loadndisdriver.c:249: error: ‘driver_dir’ undeclared (first use in this function)

loadndisdriver.c:251: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:255: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:255: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:257: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:259: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:261: warning: implicit declaration of function ‘opendir’

loadndisdriver.c:267: warning: implicit declaration of function ‘malloc’

loadndisdriver.c:267: warning: incompatible implicit declaration of built-in function ‘malloc’

loadndisdriver.c:271: warning: implicit declaration of function ‘memset’

loadndisdriver.c:271: warning: incompatible implicit declaration of built-in function ‘memset’

loadndisdriver.c:272: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:280: warning: implicit declaration of function ‘readdir’

loadndisdriver.c:280: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:282: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:284: error: dereferencing pointer to incomplete type

loadndisdriver.c:287: warning: implicit declaration of function ‘stat’

loadndisdriver.c:287: error: dereferencing pointer to incomplete type

loadndisdriver.c:288: warning: implicit declaration of function ‘S_ISREG’

loadndisdriver.c:289: error: dereferencing pointer to incomplete type

loadndisdriver.c:294: warning: incompatible implicit declaration of built-in function ‘strlen’

loadndisdriver.c:294: error: dereferencing pointer to incomplete type

loadndisdriver.c:296: warning: implicit declaration of function ‘strcasecmp’

loadndisdriver.c:296: error: dereferencing pointer to incomplete type

loadndisdriver.c:299: error: dereferencing pointer to incomplete type

loadndisdriver.c:302: error: dereferencing pointer to incomplete type

loadndisdriver.c:303: error: dereferencing pointer to incomplete type

loadndisdriver.c:305: error: dereferencing pointer to incomplete type

loadndisdriver.c:311: error: dereferencing pointer to incomplete type

loadndisdriver.c:312: error: dereferencing pointer to incomplete type

loadndisdriver.c:313: warning: implicit declaration of function ‘strcpy’

loadndisdriver.c:313: warning: incompatible implicit declaration of built-in function ‘strcpy’

loadndisdriver.c:314: error: dereferencing pointer to incomplete type

loadndisdriver.c:317: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:318: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:321: error: dereferencing pointer to incomplete type

loadndisdriver.c:282: warning: unused variable ‘statbuf’

loadndisdriver.c:344: error: expected expression before ‘struct’

loadndisdriver.c:346: warning: implicit declaration of function ‘closedir’

loadndisdriver.c:348: warning: implicit declaration of function ‘free’

loadndisdriver.c:355: warning: implicit declaration of function ‘munmap’

loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:355: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘data’

loadndisdriver.c:357: error: ‘struct load_driver_file’ has no member named ‘size’

loadndisdriver.c: In function ‘get_device’:

loadndisdriver.c:367: error: storage size of ‘statbuf’ isn’t known

loadndisdriver.c:370: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:370: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:373: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:374: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:376: warning: implicit declaration of function ‘snprintf’

loadndisdriver.c:376: warning: incompatible implicit declaration of built-in function ‘snprintf’

loadndisdriver.c:407: warning: incompatible implicit declaration of built-in function ‘strncpy’

loadndisdriver.c:367: warning: unused variable ‘statbuf’

loadndisdriver.c: In function ‘load_device’:

loadndisdriver.c:419: error: ‘DIR’ undeclared (first use in this function)

loadndisdriver.c:419: error: ‘dir’ undeclared (first use in this function)

loadndisdriver.c:423: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:423: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:424: warning: incompatible implicit declaration of built-in function ‘memset’

loadndisdriver.c:426: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:427: error: ‘EINVAL’ undeclared (first use in this function)

loadndisdriver.c:429: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:434: warning: assignment makes pointer from integer without a cast

loadndisdriver.c:435: error: dereferencing pointer to incomplete type

loadndisdriver.c:436: error: dereferencing pointer to incomplete type

loadndisdriver.c:439: error: dereferencing pointer to incomplete type

loadndisdriver.c:447: error: expected expression before ‘struct’

loadndisdriver.c: In function ‘get_ioctl_device’:

loadndisdriver.c:464: error: ‘FILE’ undeclared (first use in this function)

loadndisdriver.c:464: error: ‘proc_misc’ undeclared (first use in this function)

loadndisdriver.c:472: warning: implicit declaration of function ‘strstr’

loadndisdriver.c:472: warning: incompatible implicit declaration of built-in function ‘strstr’

loadndisdriver.c:473: warning: implicit declaration of function ‘strtol’

loadndisdriver.c:473: error: ‘NULL’ undeclared (first use in this function)

loadndisdriver.c:483: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:483: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:488: warning: implicit declaration of function ‘unlink’

loadndisdriver.c:489: warning: implicit declaration of function ‘mknod’

loadndisdriver.c:489: error: ‘S_IFCHR’ undeclared (first use in this function)

loadndisdriver.c:489: error: ‘MISC_MAJOR’ undeclared (first use in this function)

loadndisdriver.c:490: error: ‘errno’ undeclared (first use in this function)

loadndisdriver.c:495: error: ‘O_RDONLY’ undeclared (first use in this function)

loadndisdriver.c: In function ‘main’:

loadndisdriver.c:511: warning: implicit declaration of function ‘openlog’

loadndisdriver.c:511: error: ‘LOG_PERROR’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_CONS’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_KERN’ undeclared (first use in this function)

loadndisdriver.c:511: error: ‘LOG_DEBUG’ undeclared (first use in this function)

loadndisdriver.c:513: error: ‘LOG_INFO’ undeclared (first use in this function)

loadndisdriver.c:515: warning: implicit declaration of function ‘strncmp’

loadndisdriver.c:517: warning: implicit declaration of function ‘printf’

loadndisdriver.c:517: warning: incompatible implicit declaration of built-in function ‘printf’

loadndisdriver.c:527: warning: implicit declaration of function ‘atoi’

loadndisdriver.c:542: warning: implicit declaration of function ‘atof’

loadndisdriver.c:549: warning: implicit declaration of function ‘strcmp’

loadndisdriver.c:556: warning: incompatible implicit declaration of built-in function ‘sscanf’

loadndisdriver.c:590: warning: implicit declaration of function ‘closelog’

make[1]: *** [loadndisdriver] Error 1

make[1]: Leaving directory `/home/ex-adrin/ndiswrapper-1.48/utils'

make: *** [install] Error 2

Lenke til kommentar

Ingen som vet hvordan en får gjort om denne comandoen her

sudo apt-get remove network-manager network-manager-gnome

 

for det har seg sånt at jeg nå ikke får koblet meg til internette med kabel engang :p

så da får jeg ikke hentet de nødvendige packsene for compiling

Endret av EX-adrin
Lenke til kommentar
  • 2 uker senere...

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...