View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jan 11, 2007 6:08 pm 
Offline
Joined: Mon Oct 24, 2005 9:36 pm
Posts: 3
I'm trying to compile a driver for a ZD1211 wireless usb stick under R5E50 and I'm having some problems. I've been able to do this under at least two previous KnoppMyth releases without a hitch.

I tried to compile with just the headers, but that didn't work.

So I guessed I must need the full kernel source, so I followed the tips at http://mysettopbox.tv/phpBB2/viewtopic.php?t=13281 and http://mysettopbox.tv/phpBB2/viewtopic.php?t=13404.

I tried to compile again and got these error messages:
Quote:
root@mythtv:/usr/src/zd1211-driver-r83# make
/lib/modules/2.6.18-chw-13/build
/usr/src/zd1211-driver-r83
-I/usr/src/zd1211-driver-r83/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/usr/src/zd1211-driver-r83 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make: *** [all] Error 2

Then, from reading http://mysettopbox.tv/phpBB2/viewtopic.php?t=13123 I tried adding the following symlinks:
Code:
cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-source-2.6.18-chw-13/Makefile .
ln -s ../linux-source-2.6.18-chw-13/arch .
ln -s ../linux-source-2.6.18-chw-13/scripts .

Now when I compile, I get this:
Quote:
root@mythtv:/usr/src/zd1211-driver-r83# make
/lib/modules/2.6.18-chw-13/build
/usr/src/zd1211-driver-r83
-I/usr/src/zd1211-driver-r83/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/usr/src/zd1211-driver-r83 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'

WARNING: Symbol version dump /usr/src/linux-headers-2.6.18-chw-13/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /usr/src/zd1211-driver-r83/src/zd1205.o
In file included from /usr/src/zd1211-driver-r83/src/zd1205.c:42:
/usr/src/zd1211-driver-r83/src/zd1205.h:1332: warning: type qualifiers ignored on function return type
/usr/src/zd1211-driver-r83/src/zd1205.h:1279: warning: 'zd_readl' declared inline after being called
/usr/src/zd1211-driver-r83/src/zd1205.h:1279: warning: previous declaration of 'zd_readl' was here
/usr/src/zd1211-driver-r83/src/zd1205.c: In function 'zd1205_validate_frame':
/usr/src/zd1211-driver-r83/src/zd1205.c:2809: warning: unused variable 'len1'
/usr/src/zd1211-driver-r83/src/zd1205.c: In function 'zd1205_translate_scan':
/usr/src/zd1211-driver-r83/src/zd1205.c:7183: warning: format '%d' expects type 'int', but argument 4 has type 'U32'
/usr/src/zd1211-driver-r83/src/zd1205.c:7183: warning: unknown conversion type character ',' in format
/usr/src/zd1211-driver-r83/src/zd1205.c:7183: warning: spurious trailing '%' in format
/usr/src/zd1211-driver-r83/src/zd1205.c: In function 'zd1205_list_bss':
/usr/src/zd1211-driver-r83/src/zd1205.c:7388: warning: format '%2d' expects type 'int', but argument 2 has type 'U32'
/usr/src/zd1211-driver-r83/src/zd1205.c:7388: warning: spurious trailing '%' in format
/usr/src/zd1211-driver-r83/src/zd1205.c: At top level:
/usr/src/zd1211-driver-r83/src/zd1205.c:7527: warning: type qualifiers ignored on function return type
/usr/src/zd1211-driver-r83/src/zd1205.c:7608: warning: type qualifiers ignored on function return type
/usr/src/zd1211-driver-r83/src/zd1205.c:7697: warning: type qualifiers ignored on function return type
/usr/src/zd1211-driver-r83/src/zd1205.c:7713: warning: type qualifiers ignored on function return type
/usr/src/zd1211-driver-r83/src/zd1205.c: In function 'CalculateQuality':
/usr/src/zd1211-driver-r83/src/zd1205.c:10074: warning: unused variable 'rxOffset'
/usr/src/zd1211-driver-r83/src/zd1205.c: In function 'zd1205_tx_isr':
/usr/src/zd1211-driver-r83/src/zd1205.c:2030: warning: 'sw_tcb' may be used uninitialized in this function
/bin/sh: scripts/basic/fixdep: No such file or directory
make[2]: *** [/usr/src/zd1211-driver-r83/src/zd1205.o] Error 1
make[1]: *** [_module_/usr/src/zd1211-driver-r83] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make: *** [all] Error 2

So it looks like the symlinks I added helped a bit, but they're either wrong or I'm missing some others.

Can someone point me in the right direction? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 11, 2007 11:27 pm 
Offline
Joined: Sat Jan 07, 2006 7:21 pm
Posts: 24
I am having the same (similar) problem compiling ivtv.


any ideas would be greatly appreciated.


Code:
make -C driver all
make[1]: Entering directory `/usr/src/ivtv-0.8.0/driver'
make -C /lib/modules/2.6.18-chw-13/build M=/usr/src/ivtv-0.8.0/driver modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'

  WARNING: Symbol version dump /usr/src/linux-headers-2.6.18-chw-13/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/ivtv-0.8.0/driver/ivtv-osd.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/usr/src/ivtv-0.8.0/driver/ivtv-osd.o] Error 1
make[2]: *** [_module_/usr/src/ivtv-0.8.0/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/ivtv-0.8.0/driver'
make: *** [all] Error 2


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu