Deci best_* nu exista in versiunea pe care o am eu aici la indemana dar din
cate pare sunt niste wrappere catre functiile reale din kernel.
Ce compilator folosesti? (gcc -v)
Du-te te rog in directorul in care ai sursele dezarhivate si ruleaza:
find . -type f | xargs grep -l best_
si apoi da asta si in /usr/include.
Dupa asta da-mi si mie output-ul prin mail (nu pe lista ca faci trafic prea
mare). Daca ai undeva un locsor pe vreo pagina de web pune-le acolo ca
poate mai sunt oameni interesati.
On Mon, Nov 13, 2000 at 01:53:12PM +0200, Viorel Stirbu wrote:
> Am yamaha sd-xg pci (ymf-724)
> Am bagat oss-u, ultima versiune, (mere) dar nu am reusit sa-l
> crackuiesc, si ALSA ...
>
> Am incercat cu --with-cards=ymfpci --with-oss=yes cum mi-a sugerat
> cineva dar tot nu mere. Cineva care se pricepe la programare (sub lin),
> poate sa imi zica si mie ce inseamna "unresolved symbol best_memcpy" (vezi
> mai jos) pe alte placi am inteles ca mere perfect. Mi-a sugerat cineva ca
> nu ar fi bun conf.modules ... l-am "atasat" mai jos.
> Vreau sa ascult si eu un Pink in timp ce fac ceva in linux si nu pot
> ... din cauza unui unresolved simbol.
> Astept sugestii ... :)
>
> [root@localhost alsa-driver-0.5.9d]# ./configure --with-cards=ymfpci --with-oss=yes
> loading cache ./config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for ranlib... (cached) ranlib
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ANSI C header files... (cached) yes
> checking for linux/fs.h... (cached) yes
> checking for working const... (cached) yes
> checking for inline... (cached) inline
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking whether gcc needs -traditional... (cached) no
> checking for directory with kernel source... /usr/src/linux
> checking for kernel version... 2.2.14-5.0
> checking for kernel module symbol versions... yes
> checking for PCI support in kernel... yes
> checking for SGI/MIPS (HAL2) architecture... no
> checking for directory to store kernel modules... /lib/modules/2.2.14-5.0/misc
> checking for debug level... none
> checking for processor type... i586tsc
> checking for SMP... no
> checking for ISA PnP driver in kernel... no
> checking for ISA PnP support... yes
> checking for driver version... 0.5.9d
> checking for sequencer support... yes
> checking for OSS/Free emulation... yes
> checking for which soundcards to compile driver for... ymfpci
> creating ./config.status
> creating Makefile.conf
> creating snddevices
> creating utils/alsa-driver.spec
> creating cards.config
> creating include/config.h
> include/config.h is unchanged
> creating include/config1.h
> include/config1.h is unchanged
> creating include/version.h
> include/version.h is unchanged
>
> [root@localhost alsa-driver-0.5.9d]# make clean
>
> [root@localhost alsa-driver-0.5.9d]# make install
> ALSA modules were sucessfully compiled.
>
> mkdir -p /lib/modules/2.2.14-5.0/misc
> rm -f /lib/modules/2.2.14-5.0/misc/snd*.o /lib/modules/2.2.14-5.0/misc/persist.o
>/lib/modules/2.2.14-5.0/misc/isapnp.o
> cp modules/*.o /lib/modules/2.2.14-5.0/misc
> /sbin/depmod -a 2.2.14-5.0
> /lib/modules/2.2.14-5.0/misc/snd.o: unresolved symbol best_memcpy
> /lib/modules/2.2.14-5.0/misc/snd.o: unresolved symbol best_memset
> /lib/modules/2.2.14-5.0/misc/snd.o: unresolved symbol best_copy_to_user
> /lib/modules/2.2.14-5.0/misc/snd.o: unresolved symbol best_copy_from_user
> /lib/modules/2.2.14-5.0/misc/snd.o: insmod /lib/modules/2.2.14-5.0/misc/snd.o failed
> /lib/modules/2.2.14-5.0/misc/snd.o: insmod snd-ymfpci failed
> install -m 755 -d /usr/include/linux
> install -m 644 include/asound.h /usr/include/linux
> install -m 644 include/asoundid.h /usr/include/linux
> install -m 644 include/asequencer.h /usr/include/linux
> install -m 644 include/ainstr_simple.h /usr/include/linux
> install -m 644 include/ainstr_gf1.h /usr/include/linux
> install -m 644 include/ainstr_iw.h /usr/include/linux
> if [ -d /sbin/init.d ]; then \
> install -m 755 utils/alsasound /sbin/init.d/alsasound; \
> elif [ -d /etc/rc.d/init.d ]; then \
> install -m 755 utils/alsasound /etc/rc.d/init.d/alsasound; \
> elif [ -d /etc/init.d ]; then \
> install -m 755 utils/alsasound /etc/init.d/alsasound; \
> fi
> cat WARNING
>
> WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
> **************************************************************************
> You would use some ALSA or OSS mixer to set the appropriate volume.
>
> [root@localhost alsa-driver-0.5.9d]# cat /etc/conf.modules
> alias parport_lowlevel parport_pc
> # ALSA native device support
> alias char-major-116 snd
> options snd snd_major=116 snd_cards_limit=1
> alias snd-card-0 snd-card-ymfpci
> options snd-card-ymfpci snd_index=0 snd_id="YMF724"
> # OSS/Free setup
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
>
>
--
Mircea Damian
E-mails: [EMAIL PROTECTED], [EMAIL PROTECTED]
WebPage: http://taz.mania.k.ro/~dmircea/
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.