View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#469
Code:
[sbox-FREMANTLE_ARMEL: ~/ssu/camera-ui/src] > gcc -DGST_USE_UNSTABLE_API  -DMAEMO_CHANGES -DMAEMO_GTK -pthread -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/hildon-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libhildondesktop-1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gconf/2 -I/usr/include/gdigicam-0.3 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/sharingdialog -I/usr/include/hal -I/usr/include/profiled  -pthread -lhildondesktop-1 -lhildon-1 -lgdigicam-gst-camerabin-0.3 -lgdigicam-0.3 -lgstbase-0.10 -lgstreamer-0.10 -lxml2 -lsharingdialog -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -losso -llocation -lnavigation -lgdk_pixbuf-2.0 -lcityinfo0 -lhal -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lcanberra -lprofile -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lglib-2.0   -c camera-interface.c -o camera-interface.o
camera-interface.c: In function 'camera_interface_toggle_light':
camera-interface.c:1116: error: 'V4L2_CID_TORCH_INTENSITY' undeclared (first use in this function)
camera-interface.c:1116: error: (Each undeclared identifier is reported only once
camera-interface.c:1116: error: for each function it appears in.)
camera-interface.c:1117: error: expected expression before 'struct'
camera-interface.c:1119: error: expected expression before 'struct'
camera-interface.c: In function 'camera_interface_toggle_privacy_light':
camera-interface.c:1130: error: 'V4L2_CID_INDICATOR_INTENSITY' undeclared (first use in this function)
camera-interface.c:1131: error: expected expression before 'struct'
camera-interface.c:1133: error: expected expression before 'struct'
camera-interface.c: In function 'camera_interface_get_focus':
camera-interface.c:1144: error: 'V4L2_CID_FOCUS_ABSOLUTE' undeclared (first use in this function)
camera-interface.c:1145: error: expected expression before 'struct'
camera-interface.c: In function 'camera_interface_increase_focus':
camera-interface.c:1159: error: 'V4L2_CID_FOCUS_ABSOLUTE' undeclared (first use in this function)
camera-interface.c:1160: error: expected expression before 'struct'
camera-interface.c:1162: error: expected expression before 'struct'
camera-interface.c: In function 'camera_interface_decrease_focus':
camera-interface.c:1173: error: 'V4L2_CID_FOCUS_ABSOLUTE' undeclared (first use in this function)
camera-interface.c:1174: error: expected expression before 'struct'
camera-interface.c:1176: error: expected expression before 'struct'
Can you post your Makefile?