[opensuse-buildservice] Problem building zaptel
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error : /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61' ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build) Seem that the kernel source is installed but not correctly configured (make cloneconfig / make). What I have to do to solve this problem ? Thanks ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Aug 13 2007 16:40, Vittorio Manfredini wrote:
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
This indicates something _is_ wrong, since SUSE kernels (if you actually use one) come with symvers. In which case make cloneconfig is not needed either.
What I have to do to solve this problem ?
Depends on where you loaded the rpm from. Jan -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Aug 13, 2007 at 04:40:46PM +0200, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
You might get more responses on the opensuse-packagers mailing list I guess. This may not be a build service issue. (Not that I want to exclude the possibility.) Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one. Cheers -- Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I did not understand the problem on the buildservice. With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem. The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make thi generate all the file necessary to build the zaptel package. ----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net ----- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service.. Cheers Peter On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
-- Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I found the solution !! Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable : in the %build section for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done Remember that the new zaptel install some different file so you have to put it in the %files section. I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm). ----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net ----- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I just finish to compile asterisk latest version (1.4.11),libpri, zaptel (1.4.5.1) and some other telephony application successfully. My projetc is home:vitsoft. ----- Messaggio da vittorio@vitsoft.bz --------- Data: Wed, 15 Aug 2007 10:41:14 +0200 Da: Vittorio Manfredini <vittorio@vitsoft.bz> Rispondi-A:Vittorio Manfredini <vittorio@vitsoft.bz> Oggetto: [opensuse-buildservice] Re: Problem building zaptel A: Peter Nixon <listuser@peternixon.net> Cc: opensuse-buildservice@opensuse.org
I found the solution !!
Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable :
in the %build section
for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
Remember that the new zaptel install some different file so you have to put it in the %files section.
I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm).
----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da vittorio@vitsoft.bz ----- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I just finish to build the latest asterisk version 1.4.11, libpri, zaptel 1.4.5.1, asterisk-addons and some other telephony applications. My home projetcs is vitsoft ----- Messaggio da vittorio@vitsoft.bz --------- Data: Wed, 15 Aug 2007 10:41:14 +0200 Da: Vittorio Manfredini <vittorio@vitsoft.bz> Rispondi-A:Vittorio Manfredini <vittorio@vitsoft.bz> Oggetto: [opensuse-buildservice] Re: Problem building zaptel A: Peter Nixon <listuser@peternixon.net> Cc: opensuse-buildservice@opensuse.org
I found the solution !!
Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable :
in the %build section
for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
Remember that the new zaptel install some different file so you have to put it in the %files section.
I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm).
----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da vittorio@vitsoft.bz ----- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Great. I have copied all of the packages you had in your home directory that we did not already have in network:telephony. I made a couple of minor cleanups but they are basically as is. Please consider yourself the maintainer for them (but ping me if you need help with something) Cheers Peter On Thu 30 Aug 2007, Vittorio Manfredini wrote:
I just finish to build the latest asterisk version 1.4.11, libpri, zaptel 1.4.5.1, asterisk-addons and some other telephony applications.
My home projetcs is vitsoft
----- Messaggio da vittorio@vitsoft.bz --------- Data: Wed, 15 Aug 2007 10:41:14 +0200 Da: Vittorio Manfredini <vittorio@vitsoft.bz> Rispondi-A:Vittorio Manfredini <vittorio@vitsoft.bz> Oggetto: [opensuse-buildservice] Re: Problem building zaptel A: Peter Nixon <listuser@peternixon.net> Cc: opensuse-buildservice@opensuse.org
I found the solution !!
Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable :
in the %build section
for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
Remember that the new zaptel install some different file so you have to put it in the %files section.
I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm).
----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote:
I generate all the necessary files to build the zaptel package and if I try to build it localy on my machine it works, but on the web buildservice I have the following error :
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules make[2]: Entering directory `/usr/src/linux-2.6.18.2-61'
ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will have no dependencies and modversions.
CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o In file included from include/asm/smp.h:19, from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/io_apic.h: In function 'io_apic_read': include/asm/io_apic.h:180: error: implicit declaration of function 'HYPERVISOR_physdev_op' In file included from include/linux/smp.h:18, from include/linux/sched.h:63, from include/linux/module.h:9, from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: include/asm/smp.h: In function 'hard_smp_processor_id': include/asm/smp.h:76: error: implicit declaration of function 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:76: error: (Each undeclared identifier is reported only once include/asm/smp.h:76: error: for each function it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in this function) include/asm/smp.h: In function 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit declaration of function 'GET_APIC_LOGICAL_ID' include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in this function) include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in this function) make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build)
Seem that the kernel source is installed but not correctly configured (make cloneconfig / make).
What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da vittorio@vitsoft.bz -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
-- Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Aug 30 2007 23:53, Peter Nixon wrote:
----- Messaggio da vittorio@vitsoft.bz ---------
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
Using cloneconfig only papers over real problems. If zaptel does not build without cloneconfig, then that is a classical case of does-not-support-split-kernel-builds, aka O= builds. Jan -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
I just build the res_config_ldap (Realtime driver for Ldap) so you can put it on the net:telephony repository. I hope nect week to be able to build the rpm for voicerd (asterisk based on realtime ldap and web configuration). ----- Messaggio da listuser@peternixon.net --------- Data: Thu, 30 Aug 2007 23:53:46 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: [opensuse-buildservice] Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Great. I have copied all of the packages you had in your home directory that we did not already have in network:telephony. I made a couple of minor cleanups but they are basically as is. Please consider yourself the maintainer for them (but ping me if you need help with something)
Cheers
Peter
On Thu 30 Aug 2007, Vittorio Manfredini wrote:
I just finish to build the latest asterisk version 1.4.11, libpri, zaptel 1.4.5.1, asterisk-addons and some other telephony applications.
My home projetcs is vitsoft
----- Messaggio da vittorio@vitsoft.bz --------- Data: Wed, 15 Aug 2007 10:41:14 +0200 Da: Vittorio Manfredini <vittorio@vitsoft.bz> Rispondi-A:Vittorio Manfredini <vittorio@vitsoft.bz> Oggetto: [opensuse-buildservice] Re: Problem building zaptel A: Peter Nixon <listuser@peternixon.net> Cc: opensuse-buildservice@opensuse.org
I found the solution !!
Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable :
in the %build section
for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
Remember that the new zaptel install some different file so you have to put it in the %files section.
I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm).
----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
On Mon 13 Aug 2007, Vittorio Manfredini wrote: > I generate all the necessary files to build the zaptel package and > if I try to build it > localy on my machine it works, but on the web buildservice I have > the following error : > > /usr/bin/make -C /usr/src/linux > SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules > make[2]: Entering directory `/usr/src/linux-2.6.18.2-61' > > ERROR: Kernel configuration is invalid. > include/linux/autoconf.h or include/config/auto.conf are missing. > Run 'make oldconfig && make prepare' on kernel src to fix it. > > > WARNING: Symbol version dump > /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules will > have no dependencies and modversions. > > CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o > In file included from include/asm/smp.h:19, > from include/linux/smp.h:18, > from include/linux/sched.h:63, > from include/linux/module.h:9, > from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: > include/asm/io_apic.h: In function 'io_apic_read': > include/asm/io_apic.h:180: error: implicit declaration of function > 'HYPERVISOR_physdev_op' > In file included from include/linux/smp.h:18, > from include/linux/sched.h:63, > from include/linux/module.h:9, > from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: > include/asm/smp.h: In function 'hard_smp_processor_id': > include/asm/smp.h:76: error: implicit declaration of function > 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared > (first use in this function) > include/asm/smp.h:76: error: (Each undeclared identifier is reported > only once include/asm/smp.h:76: error: for each function it appears > in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared (first use in > this function) include/asm/smp.h: In function > 'logical_smp_processor_id': include/asm/smp.h:134: error: implicit > declaration of function 'GET_APIC_LOGICAL_ID' > include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use in > this function) > include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in > this function) > make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] Error > 1 make[2]: *** [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error > 2 make[2]: Leaving directory `/usr/src/linux-2.6.18.2-61' > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' > make: *** [all] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build) > > > Seem that the kernel source is installed but not correctly > configured (make cloneconfig / > make). > > What I have to do to solve this problem ?
Yep. I am having the same problem with the latest zaptel and factory kernel in network:telephony/zaptel
I do plan on spending some more time on it but am a bit swamped at present. I am not sure where your package lives, but I would be happy for you to help out with my "official" one.
Cheers
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da vittorio@vitsoft.bz -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da listuser@peternixon.net ----- ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
OK. I have cleaned it up a little and put it into network:telephony as asterisk-app_ldap Cheers Peter On Sat 01 Sep 2007, Vittorio Manfredini wrote:
I just build the res_config_ldap (Realtime driver for Ldap) so you can put it on the net:telephony repository.
I hope nect week to be able to build the rpm for voicerd (asterisk based on realtime ldap and web configuration).
----- Messaggio da listuser@peternixon.net --------- Data: Thu, 30 Aug 2007 23:53:46 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: [opensuse-buildservice] Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Great. I have copied all of the packages you had in your home directory that we did not already have in network:telephony. I made a couple of minor cleanups but they are basically as is. Please consider yourself the maintainer for them (but ping me if you need help with something)
Cheers
Peter
On Thu 30 Aug 2007, Vittorio Manfredini wrote:
I just finish to build the latest asterisk version 1.4.11, libpri, zaptel 1.4.5.1, asterisk-addons and some other telephony applications.
My home projetcs is vitsoft
----- Messaggio da vittorio@vitsoft.bz --------- Data: Wed, 15 Aug 2007 10:41:14 +0200 Da: Vittorio Manfredini <vittorio@vitsoft.bz> Rispondi-A:Vittorio Manfredini <vittorio@vitsoft.bz> Oggetto: [opensuse-buildservice] Re: Problem building zaptel A: Peter Nixon <listuser@peternixon.net> Cc: opensuse-buildservice@opensuse.org
I found the solution !!
Ther is a small fix to the zaptel Makefile in the xpp-utils install section (will try to install in /usr/sbin instead of %buildroot/usr/sbin) and when try to do a make you have to specify this variable :
in the %build section
for flavor in %flavors_to_build; do make %{?_smp_mflags} libdir=%{_libdir} KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
in the %install section for flavor in %flavors_to_build; do %{__make} install \ INSTALL_PREFIX="%{buildroot}" \ ROOT_PREFIX="%{buildroot}" LIBDIR="%{_libdir}" \ KSRC=/usr/src/linux-obj/%_target_cpu/$flavor done
Remember that the new zaptel install some different file so you have to put it in the %files section.
I gave a look to your project and the difference is that I don't patch the zaptel source with bristuff I prefer the mISDN driver (I will build it soon as rpm).
----- Messaggio da listuser@peternixon.net --------- Data: Wed, 15 Aug 2007 08:50:50 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: Vittorio Manfredini <vittorio@vitsoft.bz> Cc: opensuse-buildservice@opensuse.org
Yes. But this step is not possible and should not be necessary on the build service..
Cheers
Peter
On Wed 15 Aug 2007, Vittorio Manfredini wrote:
I did not understand the problem on the buildservice.
With the same files I was able to build the zaptel rpms on a real opensuse 10.2 withouth any problem.
The only action that I have to do before starting build the rpms was to go on /usr/src/linux and do a make cloneconfig ; make
thi generate all the file necessary to build the zaptel package.
----- Messaggio da listuser@peternixon.net --------- Data: Tue, 14 Aug 2007 21:46:32 +0300 Da: Peter Nixon <listuser@peternixon.net> Rispondi-A:Peter Nixon <listuser@peternixon.net> Oggetto: Re: Problem building zaptel A: opensuse-buildservice@opensuse.org Cc: Vittorio Manfredini <vittorio@vitsoft.bz>
> On Mon 13 Aug 2007, Vittorio Manfredini wrote: >> I generate all the necessary files to build the zaptel package >> and if I try to build it >> localy on my machine it works, but on the web buildservice I have >> the following error : >> >> /usr/bin/make -C /usr/src/linux >> SUBDIRS=/usr/src/packages/BUILD/zaptel-1.4.4 modules >> make[2]: Entering directory `/usr/src/linux-2.6.18.2-61' >> >> ERROR: Kernel configuration is invalid. >> include/linux/autoconf.h or include/config/auto.conf are missing. >> Run 'make oldconfig && make prepare' on kernel src to fix it. >> >> >> WARNING: Symbol version dump >> /usr/src/linux-2.6.18.2-61/Module.symvers is missing; modules >> will have no dependencies and modversions. >> >> CC [M] /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o >> In file included from include/asm/smp.h:19, >> from include/linux/smp.h:18, >> from include/linux/sched.h:63, >> from include/linux/module.h:9, >> from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: >> include/asm/io_apic.h: In function 'io_apic_read': >> include/asm/io_apic.h:180: error: implicit declaration of >> function 'HYPERVISOR_physdev_op' >> In file included from include/linux/smp.h:18, >> from include/linux/sched.h:63, >> from include/linux/module.h:9, >> from /usr/src/packages/BUILD/zaptel-1.4.4/pciradio.c:48: >> include/asm/smp.h: In function 'hard_smp_processor_id': >> include/asm/smp.h:76: error: implicit declaration of function >> 'GET_APIC_ID' include/asm/smp.h:76: error: 'APIC_BASE' undeclared >> (first use in this function) >> include/asm/smp.h:76: error: (Each undeclared identifier is >> reported only once include/asm/smp.h:76: error: for each function >> it appears in.) include/asm/smp.h:76: error: 'APIC_ID' undeclared >> (first use in this function) include/asm/smp.h: In function >> 'logical_smp_processor_id': include/asm/smp.h:134: error: >> implicit declaration of function 'GET_APIC_LOGICAL_ID' >> include/asm/smp.h:134: error: 'APIC_BASE' undeclared (first use >> in this function) >> include/asm/smp.h:134: error: 'APIC_LDR' undeclared (first use in >> this function) >> make[3]: *** [/usr/src/packages/BUILD/zaptel-1.4.4/pciradio.o] >> Error 1 make[2]: *** >> [_module_/usr/src/packages/BUILD/zaptel-1.4.4] Error 2 make[2]: >> Leaving directory `/usr/src/linux-2.6.18.2-61' make[1]: *** >> [modules] Error 2 >> make[1]: Leaving directory `/usr/src/packages/BUILD/zaptel-1.4.4' >> make: *** [all] Error 2 >> error: Bad exit status from /var/tmp/rpm-tmp.23820 (%build) >> >> >> Seem that the kernel source is installed but not correctly >> configured (make cloneconfig / >> make). >> >> What I have to do to solve this problem ? > > Yep. I am having the same problem with the latest zaptel and > factory kernel in network:telephony/zaptel > > I do plan on spending some more time on it but am a bit swamped at > present. I am not sure where your package lives, but I would be > happy for you to help out with my "official" one. > > Cheers > > -- > > Peter Nixon > http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da vittorio@vitsoft.bz -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
--
Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
----- Fine del messaggio da listuser@peternixon.net -----
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
-- Peter Nixon http://peternixon.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Dr. Peter Poeml
-
Jan Engelhardt
-
Peter Nixon
-
Vittorio Manfredini