Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

zaptel fail to build

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

zaptel fail to build

  • Quote

Post by col » Wed Apr 18, 2007 11:59 pm

on kernel linux-2.6.20-gentoo-r3 I get this error with zaptel-1.2.12-r1:

Code: Select all


  LD [M]  /var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/wct4xxp/wct4xxp.o
  CC [M]  /var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.o
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c: In function '__check_report_battery':
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:38: warning: return from incompatible pointer type
  CC [M]  /var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxs.o
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxs.c: In function '__check_poll_digital_inputs':
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxs.c:37: warning: return from incompatible pointer type
  CC [M]  /var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.o
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c:88: warning: 'kmem_cache_t' is deprecated
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c:346:76: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c: In function 'xbus_activate':
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c:346: error: 'INIT_WORK' undeclared (first use in this function)
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c:346: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.c:346: error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/xbus-core.o] Error 1
make[2]: *** [/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp] Error 2
make[1]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo-r3'
make: *** [linux26] Error 2

!!! ERROR: net-misc/zaptel-1.2.12-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4123:   Called src_compile
  zaptel-1.2.12-r1.ebuild, line 250:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-misc/zaptel-1.2.12-r1/temp/build.log'.

This ebuild used the following eclasses from overlays:

  /usr/portage/eclass/toolchain-funcs.eclass
  /usr/portage/eclass/multilib.eclass
  /usr/portage/eclass/eutils.eclass
  /usr/portage/eclass/portability.eclass
  /usr/portage/eclass/linux-mod.eclass
  /usr/portage/eclass/linux-info.eclass
  /usr/portage/eclass/versionator.eclass

!!! This ebuild is from an overlay: '/usr/portage'

Top
quad
n00b
n00b
Posts: 19
Joined: Tue Jan 23, 2007 9:17 pm

  • Quote

Post by quad » Wed Jun 06, 2007 5:32 pm

I get the same error.

Code: Select all

$ uname -r
2.6.20-gentoo-r6
zaptel seems broken with newer kernels. The INIT_WORK() macro (from include/linux/workqueue.h) is used with an extra argument in the zaptel source.

Edit: Compiles fine with ~x86 keyword (1.2.16 as of now).
Top
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

  • Quote

Post by col » Sat Jun 09, 2007 12:34 am

The new zaptel driver will compile....the ebuild needs updating.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic