[Bug 563] New: openmoko-tasks fails to compile if libsexy is available

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed May 16 13:52:12 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=563

           Summary: openmoko-tasks fails to compile if libsexy is available
           Product: OpenMoko
           Version: current svn head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: openmoko-tasks
        AssignedTo: rob at o-hand.com
        ReportedBy: alphaone at openmoko.org
                CC: buglog at lists.openmoko.org


bitbake libsexy && bitbake openmoko-tasks fails with
| arm-linux-gcc -march=armv4t -mtune=arm920t 
-isystem/home/dwillmann/openmoko/sdk/build/tmp/staging/arm-linux/include -O -g 
-L/home/dwillmann/openmoko/sdk
willmann/openmoko/sdk/build/tmp/staging/arm-linux/lib -Wl,-O1 -o tasks 
tasks-openmoko-tasks.o -L/home/dwillmann/openmoko/sdk/build/tmp/staging/arm-linux/li
 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0   -L/home/dwillmann/openmoko/sdk/build/tmp/staging/a
ad -lz -lm -lgconf-2 -ldbus-glib-1 -ldbus-1 -lglib-2.0  
-L/home/dwillmann/openmoko/sdk/build/tmp/staging/arm-linux/lib/../lib
-L/home/dwillmann/openmoko/sd
 -lmokogsmd -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -l
| ../../libkoto/libkoto.a(libkoto_a-koto-task-editor.o): In function
`url_entry_new':
|
/home/dwillmann/openmoko/sdk/build/tmp/work/armv4t-linux/openmoko-tasks-0.1+svnnow-r0_140/trunk/libkoto/koto-task-editor.c:191:
undefined reference to `se
|
/home/dwillmann/openmoko/sdk/build/tmp/work/armv4t-linux/openmoko-tasks-0.1+svnnow-r0_140/trunk/libkoto/koto-task-editor.c:194:
undefined reference to `se
|
/home/dwillmann/openmoko/sdk/build/tmp/work/armv4t-linux/openmoko-tasks-0.1+svnnow-r0_140/trunk/libkoto/koto-task-editor.c:194:
undefined reference to `se
|
/home/dwillmann/openmoko/sdk/build/tmp/work/armv4t-linux/openmoko-tasks-0.1+svnnow-r0_140/trunk/libkoto/koto-task-editor.c:197:
undefined reference to `se
|
/home/dwillmann/openmoko/sdk/build/tmp/work/armv4t-linux/openmoko-tasks-0.1+svnnow-r0_140/trunk/libkoto/koto-task-editor.c:197:
undefined reference to `se
| collect2: ld returned 1 exit status


The problem is that in configure.ac the line
PKG_CHECK_MODULES(SEXY, libsexy,
                  [enable_sexy=yes
                   AC_DEFINE(HAVE_SEXY, 1, [We are sexy enough])],
                   enable_sexy=false)

seems to enable libsexy automatically if it is available and later linking fails.
We should either get rid of that check, change it to AC_ARG_ENABLE or set
enable_sexy=false if omoko is true (since that problem seems to be openmoko
specific)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list