Problem with building connman
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 directorymain.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
Signature · 3 lines
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/)
Which libtool version?
Signature · 1 line
:M:
Quoted 1 line · Michael 'Mickey' Lauer
Which libtool version?
libtool-cross-1.5.10-r10
libtool-native-1.5.10-r10
Regards
Signature · 3 lines
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/)
Am Monday 26 January 2009 11:16:10 schrieb Maciej Piechotka:
Quoted 5 lines
Quoted 1 line · Michael 'Mickey' Lauer
Which libtool version?
libtool-cross-1.5.10-r10
libtool-native-1.5.10-r10
Can you retry with libtool2 and automake 1.10?
Signature · 1 line
:M:
Quoted 8 lines · Michael 'Mickey' Lauer
Am Monday 26 January 2009 11:16:10 schrieb Maciej Piechotka:
Quoted 5 lines
Quoted 1 line · Michael 'Mickey' Lauer
Which libtool version?
libtool-cross-1.5.10-r10
libtool-native-1.5.10-r10Can 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
Signature · 3 lines
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/)
Quoted 50 lines · Maciej Piechotka
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: 'enumconnman_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: 'enumconnman_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: 'structconnman_device' declared inside parameter list connman.h:92: warning: 'structconnman_device' declared inside parameter list connman.h:94: warning: 'structconnman_network' declared inside parameter list connman.h:95: warning: 'structconnman_network' declared inside parameter list connman.h:97:28: error:connman/driver.h: No such file or directory
connman.h:99: warning: 'structconnman_driver' declared inside parameter list connman.h:101:29: error:connman/element.h: No such file or directory
connman.h:109: warning: 'structconnman_element' declared inside parameter list connman.h:113: warning: 'enumconnman_element_type' declared inside parameter list connman.h:113: warning: 'structconnman_element' declared inside parameter list connman.h:116: warning: 'enumconnman_element_type' declared inside parameter list connman.h:116: warning: 'structconnman_element' declared inside parameter list connman.h:118: warning: 'enumconnman_element_type' declared inside parameter list connman.h:118: warning: 'structconnman_element' declared inside parameter list connman.h:120: warning: 'structconnman_element' declared inside parameter list connman.h:121: warning: 'structconnman_element' declared inside parameter list connman.h:123: warning: 'enumconnman_element_type' declared inside parameter list connman.h:125: warning: 'structconnman_element' declared inside parameter list connman.h:129: warning: 'structconnman_element' declared inside parameter list connman.h:156:28: error:connman/device.h: No such file or directory
connman.h:161: warning: 'structconnman_device' declared inside parameter list connman.h:162: warning: 'structconnman_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: 'structconnman_device' declared inside parameter list connman.h:174: warning: 'structconnman_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 directorymain.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
Quoted 3 lines
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:
Quoted 1 line
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
Quoted 62 lines · Ingvaldur Sigurjonsson
Quoted 50 lines · Maciej Piechotka
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: 'enumconnman_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: 'enumconnman_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: 'structconnman_device' declared inside parameter list connman.h:92: warning: 'structconnman_device' declared inside parameter list connman.h:94: warning: 'structconnman_network' declared inside parameter list connman.h:95: warning: 'structconnman_network' declared inside parameter list connman.h:97:28: error:connman/driver.h: No such file or directory
connman.h:99: warning: 'structconnman_driver' declared inside parameter list connman.h:101:29: error:connman/element.h: No such file or directory
connman.h:109: warning: 'structconnman_element' declared inside parameter list connman.h:113: warning: 'enumconnman_element_type' declared inside parameter list connman.h:113: warning: 'structconnman_element' declared inside parameter list connman.h:116: warning: 'enumconnman_element_type' declared inside parameter list connman.h:116: warning: 'structconnman_element' declared inside parameter list connman.h:118: warning: 'enumconnman_element_type' declared inside parameter list connman.h:118: warning: 'structconnman_element' declared inside parameter list connman.h:120: warning: 'structconnman_element' declared inside parameter list connman.h:121: warning: 'structconnman_element' declared inside parameter list connman.h:123: warning: 'enumconnman_element_type' declared inside parameter list connman.h:125: warning: 'structconnman_element' declared inside parameter list connman.h:129: warning: 'structconnman_element' declared inside parameter list connman.h:156:28: error:connman/device.h: No such file or directory
connman.h:161: warning: 'structconnman_device' declared inside parameter list connman.h:162: warning: 'structconnman_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: 'structconnman_device' declared inside parameter list connman.h:174: warning: 'structconnman_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 directorymain.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 1Quoted 3 lines
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:
Quoted 7 lines
Quoted 1 line
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
Signature · 3 lines
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/)
Am Tuesday 27 January 2009 18:04:02 schrieb Maciej Piechotka:
Quoted 10 lines
Quoted 8 lines
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:
Quoted 1 line
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,
Signature · 1 line
:M: