Hi All.
In order to follow the wxcode guidelines for wxAvahi, I'm rewriting my
bakefiles with the wxcode bakefile system. To do that, I follow the page
http://wxcode.sourceforge.net/bakefile.php . My bakefile is pretty
identical to other component bakefiles.
In the step 5 : the bakefile_gen is not OK :
[1/2] generating gnu from wxavahi.bkl
error: failed to set variable '__objtmp' to value
'$(sources2objects(value, id, OBJEXT))': duplicate target name 'gcc
$(WX_PORT)$(_BUILDDIR_SHARED_SUFFIX)$(DIRSEP)wxavahi_lib_resolve.o'
at /usr/share/bakefile/rules/makefile.bkl:267
when in <set> at /usr/share/bakefile/rules/makefile.bkl:267
when in <sources>
at /home/mimile/workspace/wxCode/components/avahi/build/wxavahi.bkl:27
when in <lib>
at /home/mimile/workspace/wxCode/components/avahi/build/wxavahi.bkl:26
when processing target 'wxavahi_lib'
at /home/mimile/workspace/wxCode/components/avahi/build/wxavahi.bkl:26
[bakefile_gen] error: bakefile exited with error
The lib target is :
<lib id="wxavahi_lib" template="wxcode-lib,avahicommon"
cond="WX_SHARED=='0'">
<sources>$(fileList('src/*.cpp'))</sources>
<headers>$(fileList('include/wx/avahi/*.h'))</headers>
</lib>
I dont know why it duplicates target name.
The problem persists when I change lib's id.
The file is on the svn (wxCode/components/avahi/build/wxavahi.bkl)
Regards
Emilien
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxCode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxcode-users