Ticket #219 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

openmoko-dialer r1159 fails to compile

Reported by: koen@… Owned by: tonyguan@…
Priority: high Milestone:
Component: openmoko-dialer Version: current svn head
Severity: blocker Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

In file included from contacts.h:30,

from contacts.c:19:

error.h:51:22: warning: ISO C does not permit named variadic macros
error.h:54:20: warning: ISO C does not permit named variadic macros
error.h:55:19: warning: ISO C does not permit named variadic macros
error.h:56:18: warning: ISO C does not permit named variadic macros
In file included from
/data/build/koen/OE/build/tmp/angstrom/staging/arm-angstrom-linux-gnueabi/include/gtk-2.0/gtk/gtk.h:170,

from contacts.h:33,
from contacts.c:19:

/data/build/koen/OE/build/tmp/angstrom/staging/arm-angstrom-linux-gnueabi/include/gtk-2.0/gtk/gtktextbuffer.h:52:
warning: ISO C restricts enumerator values to range of 'int'
/data/build/koen/OE/build/tmp/angstrom/staging/arm-angstrom-linux-gnueabi/include/gtk-2.0/gtk/gtktextbuffer.h:53:
warning: ISO C restricts enumerator values to range of 'int'
/data/build/koen/OE/build/tmp/angstrom/staging/arm-angstrom-linux-gnueabi/include/gtk-2.0/gtk/gtktextbuffer.h:55:
warning: ISO C restricts enumerator values to range of 'int'
contacts.c: In function 'contact_init_contact_list':
contacts.c:322: warning: initialization discards qualifiers from pointer target type
contacts.c:329: warning: passing argument 2 of 'contact_new_contact' discards
qualifiers from pointer target type
contacts.c:341: warning: assignment discards qualifiers from pointer target type
contacts.c:344: warning: passing argument 2 of 'contact_add_entry' discards
qualifiers from pointer target type
contacts.c: In function 'contact_get_info_from_number':
contacts.c:433: warning: implicit declaration of function 'strlen'
contacts.c:433: warning: incompatible implicit declaration of built-in function
'strlen'
contacts.c:449: warning: implicit declaration of function 'strcmp'
contacts.c: In function 'contact_get_peer_info_from_number':
contacts.c:492: warning: incompatible implicit declaration of built-in function
'strlen'
contacts.c: In function 'contact_string_has_sensentive':
contacts.c:549: warning: incompatible implicit declaration of built-in function
'strlen'
contacts.c:551: warning: incompatible implicit declaration of built-in function
'strlen'
contacts.c: In function 'contact_load_contact_photo':
contacts.c:651: error: 'EContactPhoto' has no member named 'length'
contacts.c:651: error: incompatible type for argument 2 of 'gdk_pixbuf_loader_write'
make[2]: * [contacts.o] Error 1
make[2]: Leaving directory
`/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/openmoko-dialer-0.0.1+svn20070228-r0/openmoko-dialer/src'
make[1]:
* [all-recursive] Error 1
make[1]: Leaving directory
`/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/openmoko-dialer-0.0.1+svn20070228-r0/openmoko-dialer'
make: * [all] Error 2

Change History

comment:1 Changed 6 years ago by koen@…

Path: .
URL: https://svn.openmoko.org/trunk/src/target/OM-2007/applications/openmoko-dialer
Repository Root: https://svn.openmoko.org
Repository UUID: 99fdad57-331a-0410-800a-d7fa5415bdb3
Revision: 1159
Node Kind: directory
Schedule: normal
Last Changed Author: tony_guan
Last Changed Rev: 1147
Last Changed Date: 2007-02-27 09:37:06 +0100 (Tue, 27 Feb 2007)

comment:3 Changed 6 years ago by thomas@…

  • Status changed from new to closed
  • Resolution set to fixed

I've cleaned up the configure.ac and added a check for EContactPhotoType, which
should fix this bug.

Note: See TracTickets for help on using tickets.