All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling errors
@ 2014-03-05  4:50 Rick Bianchi
  2014-03-05 10:44 ` Paul Eggleton
  0 siblings, 1 reply; 8+ messages in thread
From: Rick Bianchi @ 2014-03-05  4:50 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

I get the following errors while trying to compile:

Error: autogen-native not found in the base feeds (overo armv7a-vfp-neon
armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5 armv4
arm noarch any all).

When I do a bitbake -s | grep autogen-native it shows up.

I am also getting the same error for dhcp recipe.

[-- Attachment #2: Type: text/html, Size: 399 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Compiling errors
  2014-03-05  4:50 Compiling errors Rick Bianchi
@ 2014-03-05 10:44 ` Paul Eggleton
  2014-03-05 14:02   ` Rick Bianchi
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2014-03-05 10:44 UTC (permalink / raw)
  To: Rick Bianchi; +Cc: yocto

Hi Rick,

On Tuesday 04 March 2014 21:50:24 Rick Bianchi wrote:
> I get the following errors while trying to compile:
> 
> Error: autogen-native not found in the base feeds (overo armv7a-vfp-neon
> armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5 armv4
> arm noarch any all).
> 
> When I do a bitbake -s | grep autogen-native it shows up.
> 
> I am also getting the same error for dhcp recipe.

Based on the error, what you're talking about here are not recipes - these are 
*packages* you're adding to IMAGE_INSTALL, is that correct?

Anything with -native at the end is a recipe that is intended to build for the 
build host, so it wouldn't make sense to add "autogen-native" to a list of 
packages to be installed into an image for the target. The equivalent package 
name for the target would be simply "autogen", except no recipe producing this 
target package exists (there is only autogen-native). If you really need 
autogen for the target you're going to have to write (or adapt) a recipe for 
it yourself.

The dhcp case is different - the "dhcp" package is actually empty and thus a 
package file for it is never produced; the reason it is empty is that the 
server and client portions are packaged separately in dhcp-server and 
dhcp-client packages respectively, so you'll need to decide which of these you 
want and specify those to be installed instead.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Compiling errors
  2014-03-05 10:44 ` Paul Eggleton
@ 2014-03-05 14:02   ` Rick Bianchi
  0 siblings, 0 replies; 8+ messages in thread
From: Rick Bianchi @ 2014-03-05 14:02 UTC (permalink / raw)
  To: Paul Eggleton, yocto

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

Paul,
That is exactly what I needed to know.

Thanks,
Rick


On Wed, Mar 5, 2014 at 3:44 AM, Paul Eggleton <paul.eggleton@linux.intel.com
> wrote:

> Hi Rick,
>
> On Tuesday 04 March 2014 21:50:24 Rick Bianchi wrote:
> > I get the following errors while trying to compile:
> >
> > Error: autogen-native not found in the base feeds (overo armv7a-vfp-neon
> > armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5 armv4
> > arm noarch any all).
> >
> > When I do a bitbake -s | grep autogen-native it shows up.
> >
> > I am also getting the same error for dhcp recipe.
>
> Based on the error, what you're talking about here are not recipes - these
> are
> *packages* you're adding to IMAGE_INSTALL, is that correct?
>
> Anything with -native at the end is a recipe that is intended to build for
> the
> build host, so it wouldn't make sense to add "autogen-native" to a list of
> packages to be installed into an image for the target. The equivalent
> package
> name for the target would be simply "autogen", except no recipe producing
> this
> target package exists (there is only autogen-native). If you really need
> autogen for the target you're going to have to write (or adapt) a recipe
> for
> it yourself.
>
> The dhcp case is different - the "dhcp" package is actually empty and thus
> a
> package file for it is never produced; the reason it is empty is that the
> server and client portions are packaged separately in dhcp-server and
> dhcp-client packages respectively, so you'll need to decide which of these
> you
> want and specify those to be installed instead.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>

[-- Attachment #2: Type: text/html, Size: 2319 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Compiling Errors
@ 2005-05-19  6:23 Wolfgang Timm
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Timm @ 2005-05-19  6:23 UTC (permalink / raw)
  To: lm-sensors

Hello,

i'm trying ls_sensors to watch our Webserver.
i2c compiles fine.

At the compile time for lm_sensors i got this:
gcc  -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. 
-Ikernel/include -I/usr/local/include -I/usr/src/linux/include   -O2   -c 
kernel/chips/lm92.c -o kernel/chips/lm92.o
kernel/chips/lm92.c:96: warning: parameter names (without types) in 
function declaration
kernel/chips/lm92.c: In function `lm92_temp':
kernel/chips/lm92.c:180: `mutex' undeclared (first use in this function)
kernel/chips/lm92.c:180: (Each undeclared identifier is reported only once
kernel/chips/lm92.c:180: for each function it appears in.)
kernel/chips/lm92.c: In function `lm92_alarms':
kernel/chips/lm92.c:207: `mutex' undeclared (first use in this function)
kernel/chips/lm92.c: In function `lm92_detect':
kernel/chips/lm92.c:280: `mutex' undeclared (first use in this function)
kernel/chips/lm92.c:298: `THIS_MODULE' undeclared (first use in this function)
kernel/chips/lm92.c: At top level:
kernel/chips/lm92.c:415: warning: parameter names (without types) in 
function declaration
kernel/chips/lm92.c:415: warning: data definition has no type or storage class
kernel/chips/lm92.c:416: warning: parameter names (without types) in 
function declaration
kernel/chips/lm92.c:416: warning: data definition has no type or storage class
make: *** [kernel/chips/lm92.o] Error 1

Whats this mean??
Thanks for your answer
timm

---------------------------------;-)
inbase
- Wolfgang Timm -
    3W:  http://www.inbase.de, http://www.mycms.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compiling errors
  2002-10-01 18:53 compiling errors immortal1015
@ 2002-10-01 19:20 ` Richard B. Johnson
  0 siblings, 0 replies; 8+ messages in thread
From: Richard B. Johnson @ 2002-10-01 19:20 UTC (permalink / raw)
  To: immortal1015; +Cc: linux-kernel

On Wed, 2 Oct 2002, immortal1015 wrote:

> I tried to compile the very simple kernel module code as following.
> I compile this code using gcc -c hello.c, but gcc tell me:
>  /usr/include/linux	/module.h:60 parse error before 'atomic_t'
> 
> What is the error? My gcc version is 2.96 and Redhat Linux 7.3


Script started on Tue Oct  1 15:15:14 2002
# cat >zzz.c
#ifndef __KERNEL__
#  define __KERNEL__
#endif
#ifndef MODULE
#  define MODULE
#endif
#include <linux/version.h>
#include <linux/config.h>
#include <linux/module.h>

#include <linux/kernel.h> /* printk */

int init_module(void)
{
	printk("<1>Hello the world\n");
	return 0;
}

void cleanup_module(void)
{
	printk("<1>Goodbye the world\n");	
}
# gcc -Wall -O2 -c -o zzz.o zzz.c
# insmod zzz.o
# rmmod zzz
# tail /var/s\b \blog/messages
Oct  1 01:02:36 chaos sendmail[26509]: g9152V126509: <pine.lnx.3.95.1010126095653.762a-100000@chaos.analogic.com>... User unknown
Oct  1 07:23:15 chaos login: ROOT LOGIN ON tty1
Oct  1 07:28:23 chaos sendmail[27618]: g91BSK127618: <100000@chaos.analogic.com>... User unknown
Oct  1 07:31:32 chaos sendmail[27648]: alias database /etc/mail/aliases rebuilt by root
Oct  1 08:16:18 chaos login: ROOT LOGIN ON tty2
Oct  1 11:13:46 chaos sendmail[30538]: g91FDf130538: <Pine.LNX.3.95.971112180225.1589A-100000@chaos.analogic.com>... User unknown
Oct  1 15:15:53 chaos kernel: Hello the world 
Oct  1 15:16:01 chaos kernel: Goodbye the world 
# exit
exit

Script done on Tue Oct  1 15:16:30 2002



Works here. You may have to always used -O2 to get in-lines to
work correctly.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* compiling errors
@ 2002-10-01 18:53 immortal1015
  2002-10-01 19:20 ` Richard B. Johnson
  0 siblings, 1 reply; 8+ messages in thread
From: immortal1015 @ 2002-10-01 18:53 UTC (permalink / raw)
  To: linux-kernel

I tried to compile the very simple kernel module code as following.
I compile this code using gcc -c hello.c, but gcc tell me:
 /usr/include/linux	/module.h:60 parse error before 'atomic_t'

What is the error? My gcc version is 2.96 and Redhat Linux 7.3


//////////////////////////////////////////////////////////////////////////////
#ifndef __KERNEL__
#  define __KERNEL__
#endif
#ifndef MODULE
#  define MODULE
#endif
#include <linux/version.h>
#include <linux/config.h>
#include <linux/module.h>

#include <linux/kernel.h> /* printk */

int init_module(void)
{
	printk("<1>Hello the world\n");
	return 0;
}

void cleanup_module(void)
{
	printk("<1>Goodbye the world\n");	
}
/////////////////////////////////////////////////////////////////


Best regards
yours Brucie




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: compiling errors
  2002-10-01 18:07 immortal1015
@ 2002-10-01 18:22 ` Arjan van de Ven
  0 siblings, 0 replies; 8+ messages in thread
From: Arjan van de Ven @ 2002-10-01 18:22 UTC (permalink / raw)
  To: immortal1015; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

On Tue, 2002-10-01 at 20:07, immortal1015 wrote:
> I tried to compile the very simple kernel module code as following.
> I compile this code using gcc -c hello.c, but gcc tell me:
>  /usr/include/linux	/module.h:60 parse error before 'atomic_t'

you are using glibc headers to compile kernel code....

add -I/lib/modules/`uname -r`/build/include
to the gcc flags



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* compiling errors
@ 2002-10-01 18:07 immortal1015
  2002-10-01 18:22 ` Arjan van de Ven
  0 siblings, 1 reply; 8+ messages in thread
From: immortal1015 @ 2002-10-01 18:07 UTC (permalink / raw)
  To: linux-kernel

I tried to compile the very simple kernel module code as following.
I compile this code using gcc -c hello.c, but gcc tell me:
 /usr/include/linux	/module.h:60 parse error before 'atomic_t'

What is the error? My gcc version is 2.96.


//////////////////////////////////////////////////////////////////////////////
#ifndef __KERNEL__
#  define __KERNEL__
#endif
#ifndef MODULE
#  define MODULE
#endif
#include <linux/version.h>
#include <linux/config.h>
#include <linux/module.h>

#include <linux/kernel.h> /* printk */

int init_module(void)
{
	printk("<1>Hello the world\n");
	return 0;
}

void cleanup_module(void)
{
	printk("<1>Goodbye the world\n");	
}
/////////////////////////////////////////////////////////////////


Best regards
yours Brucie





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-05 14:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-05  4:50 Compiling errors Rick Bianchi
2014-03-05 10:44 ` Paul Eggleton
2014-03-05 14:02   ` Rick Bianchi
  -- strict thread matches above, loose matches on Subject: below --
2005-05-19  6:23 Compiling Errors Wolfgang Timm
2002-10-01 18:53 compiling errors immortal1015
2002-10-01 19:20 ` Richard B. Johnson
2002-10-01 18:07 immortal1015
2002-10-01 18:22 ` Arjan van de Ven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.