Hello All,
I have built the module on IMX 53 QSB. If I run the output(viewer) I need to see the Navigation screen. But as I launch the binary, there is no output.
I have built the kernel, rootfs and u-boot having FSL GNOME using LTIB.
$ uname -a
Linux lucid-desktop 2.6.35.3-744-g27fdf7b #1 PREEMPT Thu Jan 27 15:10:16 CST 201
1 armv7l GNU/Linux
Request you to please help.
Regards,
Swamy
This is my Makefile...
##############################
# Viewer Makefile
##############################
TARGET?=linux
CROSS=
CC=$(CROSS)gcc
CFLAGS+= -O2 -g
CPPFLAGS = $(CFLAGS)
APP_BINARY=viewer
OBJECTS=viewer.o event.o audio.o video.o
LIBS=-lpthread -lm -lrt -losal -lasound
# Common files
all: libosal.a viewer
# OS specific files
ifeq ($(TARGET), linux)
# Linux (Ubuntu) rules
OBJECTS+=/usr/lib/libX11.so.6
OSAL_LIBPATH=osal/linux/lib
# Applications:
libosal.a:
make -C $(OSAL_LIBPATH)/..
viewer: $(OBJECTS) $(OSAL_LIBPATH)/libosal.a
$(CC) -L$(OSAL_LIBPATH) $(CFLAGS) $(OBJECTS) -o $(APP_BINARY) -Bdynamic -Bstatic $(LIBS)
chmod 755 $(APP_BINARY)
endif
# Common clean rule
clean:
@echo "Cleaning up directory."
rm -f *.a *.o $(APP_BINARY) core *~
@echo "Cleaning OSAL library."
make -C $(OSAL_LIBPATH)/.. clean
the gnome rootfs does not support x11, you need use the ubuntu rootfs instead. also if you cross build your app, below should changed:
OBJECTS+=/usr/lib/libX11.so.6
OSAL_LIBPATH=osal/linux/lib