All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with building connman
@ 2009-01-25 12:57 Maciej Piechotka
  2009-01-25 16:59 ` Michael 'Mickey' Lauer
  2009-01-26  1:18 ` Ingvaldur Sigurjonsson
  0 siblings, 2 replies; 8+ messages in thread
From: Maciej Piechotka @ 2009-01-25 12:57 UTC (permalink / raw)
  To: openembedded-devel

If I try to build connman using bitbake + oembedded I get the following
errors:
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from main.c:37:
connman.h:26:26: error: connman/dbus.h: No such file or directory
connman.h:56:25: error: connman/log.h: No such file or directory
connman.h:63:28: error: connman/plugin.h: No such file or directory
connman.h:68:30: error: connman/security.h: No such file or directory
In file included from main.c:37:
connman.h:71: warning: 'enum connman_security_privilege' declared inside parameter list
connman.h:71: warning: its scope is only this definition or declaration, which is probably not what you want
connman.h:73:26: error: connman/ipv4.h: No such file or directory
connman.h:75: warning: 'enum connman_ipv4_method' declared inside parameter list
connman.h:78:30: error: connman/resolver.h: No such file or directory
connman.h:85:29: error: connman/storage.h: No such file or directory
connman.h:91: warning: 'struct connman_device' declared inside parameter list
connman.h:92: warning: 'struct connman_device' declared inside parameter list
connman.h:94: warning: 'struct connman_network' declared inside parameter list
connman.h:95: warning: 'struct connman_network' declared inside parameter list
connman.h:97:28: error: connman/driver.h: No such file or directory
connman.h:99: warning: 'struct connman_driver' declared inside parameter list
connman.h:101:29: error: connman/element.h: No such file or directory
connman.h:109: warning: 'struct connman_element' declared inside parameter list
connman.h:113: warning: 'enum connman_element_type' declared inside parameter list
connman.h:113: warning: 'struct connman_element' declared inside parameter list
connman.h:116: warning: 'enum connman_element_type' declared inside parameter list
connman.h:116: warning: 'struct connman_element' declared inside parameter list
connman.h:118: warning: 'enum connman_element_type' declared inside parameter list
connman.h:118: warning: 'struct connman_element' declared inside parameter list
connman.h:120: warning: 'struct connman_element' declared inside parameter list
connman.h:121: warning: 'struct connman_element' declared inside parameter list
connman.h:123: warning: 'enum connman_element_type' declared inside parameter list
connman.h:125: warning: 'struct connman_element' declared inside parameter list
connman.h:129: warning: 'struct connman_element' declared inside parameter list
connman.h:156:28: error: connman/device.h: No such file or directory
connman.h:161: warning: 'struct connman_device' declared inside parameter list
connman.h:162: warning: 'struct connman_device' declared inside parameter list
connman.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_device_has_driver'
connman.h:166: error: expected ')' before 'flightmode'
connman.h:168:29: error: connman/network.h: No such file or directory
connman.h:174: warning: 'struct connman_device' declared inside parameter list
connman.h:174: warning: 'struct connman_network' declared inside parameter list
connman.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_network_has_driver'
connman.h:178:26: error: connman/rtnl.h: No such file or directory
main.c: In function 'main':
main.c:136: error: 'CONNMAN_SERVICE' undeclared (first use in this function)
main.c:136: error: (Each undeclared identifier is reported only once
main.c:136: error: for each function it appears in.)
make[2]: *** [main.o] Error 1

What's wrong?

Regards
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)





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

* Re: Problem with building connman
  2009-01-25 12:57 Problem with building connman Maciej Piechotka
@ 2009-01-25 16:59 ` Michael 'Mickey' Lauer
  2009-01-26 10:16   ` Maciej Piechotka
  2009-01-26  1:18 ` Ingvaldur Sigurjonsson
  1 sibling, 1 reply; 8+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-01-25 16:59 UTC (permalink / raw)
  To: openembedded-devel

Which libtool version?

-- 
:M:



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

* Re: Problem with building connman
  2009-01-25 12:57 Problem with building connman Maciej Piechotka
  2009-01-25 16:59 ` Michael 'Mickey' Lauer
@ 2009-01-26  1:18 ` Ingvaldur Sigurjonsson
  2009-01-27 17:04   ` Maciej Piechotka
  1 sibling, 1 reply; 8+ messages in thread
From: Ingvaldur Sigurjonsson @ 2009-01-26  1:18 UTC (permalink / raw)
  To: openembedded-devel

Maciej Piechotka wrote:
> If I try to build connman using bitbake + oembedded I get the following
> errors:
> 	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
> In file included from main.c:37:
> connman.h:26:26: error: connman/dbus.h: No such file or directory
> connman.h:56:25: error: connman/log.h: No such file or directory
> connman.h:63:28: error: connman/plugin.h: No such file or directory
> connman.h:68:30: error: connman/security.h: No such file or directory
> In file included from main.c:37:
> connman.h:71: warning: 'enum connman_security_privilege' declared inside parameter list
> connman.h:71: warning: its scope is only this definition or declaration, which is probably not what you want
> connman.h:73:26: error: connman/ipv4.h: No such file or directory
> connman.h:75: warning: 'enum connman_ipv4_method' declared inside parameter list
> connman.h:78:30: error: connman/resolver.h: No such file or directory
> connman.h:85:29: error: connman/storage.h: No such file or directory
> connman.h:91: warning: 'struct connman_device' declared inside parameter list
> connman.h:92: warning: 'struct connman_device' declared inside parameter list
> connman.h:94: warning: 'struct connman_network' declared inside parameter list
> connman.h:95: warning: 'struct connman_network' declared inside parameter list
> connman.h:97:28: error: connman/driver.h: No such file or directory
> connman.h:99: warning: 'struct connman_driver' declared inside parameter list
> connman.h:101:29: error: connman/element.h: No such file or directory
> connman.h:109: warning: 'struct connman_element' declared inside parameter list
> connman.h:113: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:113: warning: 'struct connman_element' declared inside parameter list
> connman.h:116: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:116: warning: 'struct connman_element' declared inside parameter list
> connman.h:118: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:118: warning: 'struct connman_element' declared inside parameter list
> connman.h:120: warning: 'struct connman_element' declared inside parameter list
> connman.h:121: warning: 'struct connman_element' declared inside parameter list
> connman.h:123: warning: 'enum connman_element_type' declared inside parameter list
> connman.h:125: warning: 'struct connman_element' declared inside parameter list
> connman.h:129: warning: 'struct connman_element' declared inside parameter list
> connman.h:156:28: error: connman/device.h: No such file or directory
> connman.h:161: warning: 'struct connman_device' declared inside parameter list
> connman.h:162: warning: 'struct connman_device' declared inside parameter list
> connman.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_device_has_driver'
> connman.h:166: error: expected ')' before 'flightmode'
> connman.h:168:29: error: connman/network.h: No such file or directory
> connman.h:174: warning: 'struct connman_device' declared inside parameter list
> connman.h:174: warning: 'struct connman_network' declared inside parameter list
> connman.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_network_has_driver'
> connman.h:178:26: error: connman/rtnl.h: No such file or directory
> main.c: In function 'main':
> main.c:136: error: 'CONNMAN_SERVICE' undeclared (first use in this function)
> main.c:136: error: (Each undeclared identifier is reported only once
> main.c:136: error: for each function it appears in.)
> make[2]: *** [main.o] Error 1
> 
> What's wrong?
> 
> Regards

   I had this problem last week. The problem was that the include files 
were symlinks that pointed to '/include/connman/dbus.h' etc and all 
definitely wrong.

   Just recreate all the symlinks manually i.e. cd into the 
connman-directory and into the directory which has all the wrong 
.-h-file symlinks (they should show up red) and enter the command:
 > for f in *.h; do ln -fs ../$f $f; done

   But only do that if all .h-file-symlinks are pointing to non-existing 
files. Otherwise just fix them manually.

Regards
- I




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

* Re: Problem with building connman
  2009-01-25 16:59 ` Michael 'Mickey' Lauer
@ 2009-01-26 10:16   ` Maciej Piechotka
  2009-01-26 18:16     ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 8+ messages in thread
From: Maciej Piechotka @ 2009-01-26 10:16 UTC (permalink / raw)
  To: openembedded-devel

"Michael 'Mickey' Lauer" <mickey@vanille-media.de> writes:

> Which libtool version?

libtool-cross-1.5.10-r10
libtool-native-1.5.10-r10

Regards
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)




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

* Re: Problem with building connman
  2009-01-26 10:16   ` Maciej Piechotka
@ 2009-01-26 18:16     ` Michael 'Mickey' Lauer
  2009-01-26 19:50       ` Maciej Piechotka
  0 siblings, 1 reply; 8+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-01-26 18:16 UTC (permalink / raw)
  To: openembedded-devel

Am Monday 26 January 2009 11:16:10 schrieb Maciej Piechotka:
> "Michael 'Mickey' Lauer" <mickey@vanille-media.de> writes:
> > Which libtool version?
>
> libtool-cross-1.5.10-r10
> libtool-native-1.5.10-r10

Can you retry with libtool2 and automake 1.10?

-- 
:M:



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

* Re: Problem with building connman
  2009-01-26 18:16     ` Michael 'Mickey' Lauer
@ 2009-01-26 19:50       ` Maciej Piechotka
  0 siblings, 0 replies; 8+ messages in thread
From: Maciej Piechotka @ 2009-01-26 19:50 UTC (permalink / raw)
  To: openembedded-devel

"Michael 'Mickey' Lauer" <mickey@vanille-media.de> writes:

> Am Monday 26 January 2009 11:16:10 schrieb Maciej Piechotka:
>> "Michael 'Mickey' Lauer" <mickey@vanille-media.de> writes:
>> > Which libtool version?
>>
>> libtool-cross-1.5.10-r10
>> libtool-native-1.5.10-r10
>
> Can you retry with libtool2 and automake 1.10?

I'll try but I cannot manage to force this #### bitbake to install
libtool2. I cannot find anything in bb files wich would prohibit
installing it but it install libtool in the older version.

Regards
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)




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

* Re: Problem with building connman
  2009-01-26  1:18 ` Ingvaldur Sigurjonsson
@ 2009-01-27 17:04   ` Maciej Piechotka
  2009-01-27 20:14     ` Michael 'Mickey' Lauer
  0 siblings, 1 reply; 8+ messages in thread
From: Maciej Piechotka @ 2009-01-27 17:04 UTC (permalink / raw)
  To: openembedded-devel

Ingvaldur Sigurjonsson <ingi@telia.com> writes:

> Maciej Piechotka wrote:
>> If I try to build connman using bitbake + oembedded I get the following
>> errors:
>> 	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
>> In file included from main.c:37:
>> connman.h:26:26: error: connman/dbus.h: No such file or directory
>> connman.h:56:25: error: connman/log.h: No such file or directory
>> connman.h:63:28: error: connman/plugin.h: No such file or directory
>> connman.h:68:30: error: connman/security.h: No such file or directory
>> In file included from main.c:37:
>> connman.h:71: warning: 'enum connman_security_privilege' declared inside parameter list
>> connman.h:71: warning: its scope is only this definition or declaration, which is probably not what you want
>> connman.h:73:26: error: connman/ipv4.h: No such file or directory
>> connman.h:75: warning: 'enum connman_ipv4_method' declared inside parameter list
>> connman.h:78:30: error: connman/resolver.h: No such file or directory
>> connman.h:85:29: error: connman/storage.h: No such file or directory
>> connman.h:91: warning: 'struct connman_device' declared inside parameter list
>> connman.h:92: warning: 'struct connman_device' declared inside parameter list
>> connman.h:94: warning: 'struct connman_network' declared inside parameter list
>> connman.h:95: warning: 'struct connman_network' declared inside parameter list
>> connman.h:97:28: error: connman/driver.h: No such file or directory
>> connman.h:99: warning: 'struct connman_driver' declared inside parameter list
>> connman.h:101:29: error: connman/element.h: No such file or directory
>> connman.h:109: warning: 'struct connman_element' declared inside parameter list
>> connman.h:113: warning: 'enum connman_element_type' declared inside parameter list
>> connman.h:113: warning: 'struct connman_element' declared inside parameter list
>> connman.h:116: warning: 'enum connman_element_type' declared inside parameter list
>> connman.h:116: warning: 'struct connman_element' declared inside parameter list
>> connman.h:118: warning: 'enum connman_element_type' declared inside parameter list
>> connman.h:118: warning: 'struct connman_element' declared inside parameter list
>> connman.h:120: warning: 'struct connman_element' declared inside parameter list
>> connman.h:121: warning: 'struct connman_element' declared inside parameter list
>> connman.h:123: warning: 'enum connman_element_type' declared inside parameter list
>> connman.h:125: warning: 'struct connman_element' declared inside parameter list
>> connman.h:129: warning: 'struct connman_element' declared inside parameter list
>> connman.h:156:28: error: connman/device.h: No such file or directory
>> connman.h:161: warning: 'struct connman_device' declared inside parameter list
>> connman.h:162: warning: 'struct connman_device' declared inside parameter list
>> connman.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_device_has_driver'
>> connman.h:166: error: expected ')' before 'flightmode'
>> connman.h:168:29: error: connman/network.h: No such file or directory
>> connman.h:174: warning: 'struct connman_device' declared inside parameter list
>> connman.h:174: warning: 'struct connman_network' declared inside parameter list
>> connman.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__connman_network_has_driver'
>> connman.h:178:26: error: connman/rtnl.h: No such file or directory
>> main.c: In function 'main':
>> main.c:136: error: 'CONNMAN_SERVICE' undeclared (first use in this function)
>> main.c:136: error: (Each undeclared identifier is reported only once
>> main.c:136: error: for each function it appears in.)
>> make[2]: *** [main.o] Error 1
>>
>> What's wrong?
>>
>> Regards
>
>   I had this problem last week. The problem was that the include files
> were symlinks that pointed to '/include/connman/dbus.h' etc and all
> definitely wrong.
>
>   Just recreate all the symlinks manually i.e. cd into the
> connman-directory and into the directory which has all the wrong
> .-h-file symlinks (they should show up red) and enter the command:
>> for f in *.h; do ln -fs ../$f $f; done
>
>   But only do that if all .h-file-symlinks are pointing to
> non-existing files. Otherwise just fix them manually.
>
> Regards
> - I

That works. Why it is not written into bb file then?

Regards
-- 
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)




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

* Re: Problem with building connman
  2009-01-27 17:04   ` Maciej Piechotka
@ 2009-01-27 20:14     ` Michael 'Mickey' Lauer
  0 siblings, 0 replies; 8+ messages in thread
From: Michael 'Mickey' Lauer @ 2009-01-27 20:14 UTC (permalink / raw)
  To: openembedded-devel

Am Tuesday 27 January 2009 18:04:02 schrieb Maciej Piechotka:
> >   Just recreate all the symlinks manually i.e. cd into the
> > connman-directory and into the directory which has all the wrong
> >
> > .-h-file symlinks (they should show up red) and enter the command:
> >> for f in *.h; do ln -fs ../$f $f; done
> >
> >   But only do that if all .h-file-symlinks are pointing to
> > non-existing files. Otherwise just fix them manually.
>
> That works. Why it is not written into bb file then?

Because it built for me without this hack.

Will add it when I have a chance.

Cheers,
-- 
:M:



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

end of thread, other threads:[~2009-01-27 20:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 12:57 Problem with building connman Maciej Piechotka
2009-01-25 16:59 ` Michael 'Mickey' Lauer
2009-01-26 10:16   ` Maciej Piechotka
2009-01-26 18:16     ` Michael 'Mickey' Lauer
2009-01-26 19:50       ` Maciej Piechotka
2009-01-26  1:18 ` Ingvaldur Sigurjonsson
2009-01-27 17:04   ` Maciej Piechotka
2009-01-27 20:14     ` Michael 'Mickey' Lauer

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.