[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
In <sslug@sslug> Joachim Holst <sslug@sslug> writes: >Sitter och leker lite med ISA PnP funktionaliteten i 2.4.0-test9. >Har därför skrivit ett litet program som bör läsa av lite information från >ett av mina isa kort. Tyvärr, så vill programmet inte länka. Beklagar sig >över bla. >/tmp/ccAThXoz.o: In function `main': >/tmp/ccAThXoz.o(.text+0x15): undefined reference to `isapnp_find_dev' Du forsøger at linke dit user-mode program med en funktion i selve Linux kernen. Det kan du ikke - hvis du vil kalde kerne-funktioner direkte, så skal du skrive et kerne modul. Ellers må du "nøjes" med at snakke med kernen via de officielle interfaces, d.v.s. enten kigge i filerne i /proc, eller bruge de funktioner som er eksporteret via "syscall" interfacet - de vil almindeligvis findes i libc. Det nemmeste for dig er nok at læse informationen fra isapnp filerne i /proc -- Henrik Storner | "Crackers thrive on code secrecy. Cockcroaches breed <sslug@sslug> | in the dark. It's time to let the sunlight in." | | Eric S. Raymond, re. the Frontpage backdoor
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |