Skip to content

Instantly share code, notes, and snippets.

@ndoo
Created March 14, 2014 20:22
Show Gist options
  • Save ndoo/9555992 to your computer and use it in GitHub Desktop.
Save ndoo/9555992 to your computer and use it in GitHub Desktop.
[andrew@cube2 9481694]$ export LD_LIBRARY_PATH="/opt/fsl/lib:/usr/lib"
[andrew@cube2 9481694]$ export LDFLAGS
[andrew@cube2 9481694]$ makepkg
==> Making package: xf86-video-imx-viv 3.10.17_1.0.0_beta-2 (Sat Mar 15 04:22:00 SGT 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found xserver-xorg-video-imx-viv-3.10.17-1.0.0_beta.tar.gz
-> Found 90-vivante.conf
-> Found fix-hdmi-preferred-mode.patch
==> Validating source files with md5sums...
xserver-xorg-video-imx-viv-3.10.17-1.0.0_beta.tar.gz ... Passed
90-vivante.conf ... Passed
fix-hdmi-preferred-mode.patch ... Passed
==> Extracting sources...
-> Extracting xserver-xorg-video-imx-viv-3.10.17-1.0.0_beta.tar.gz with bsdtar
==> Starting prepare()...
patching file EXA/src/vivante_fbdev/imx_display.c
==> Removing existing pkg/ directory...
==> Starting build()...
gcc -DCOMMIT="`git log -n 1 --format=%H``git diff-index --quiet HEAD || echo '-dirty'`" -DSWAP_SINGLE_PARAMETER -DFIX_NO_MI_BACKINGSTORE -DBUSID_HAS_NUMBER -fvisibility=hidden -fPIC -DPIC -DFREESCALE_EXTENSION -I. -I.. -I//usr/include -I//usr/include/xorg -I//usr/include/pixman-1 -I./vivante_gal -I./vivante_fbdev -I./vivante_util -I./vivante_exa -I./vivante_extension -I//usr/include/drm -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I../../DRI_1.10.4/src -I/opt/fsl/include -DENABLE_LOG=1 -DDRAWING_STATISTICS=1 -mfpu=vfp -mfloat-abi=hard -march=armv7-a -marm -O2 -Werror -o vivante_util/logger.o -c vivante_util/logger.c
gcc -DCOMMIT="`git log -n 1 --format=%H``git diff-index --quiet HEAD || echo '-dirty'`" -DSWAP_SINGLE_PARAMETER -DFIX_NO_MI_BACKINGSTORE -DBUSID_HAS_NUMBER -fvisibility=hidden -fPIC -DPIC -DFREESCALE_EXTENSION -I. -I.. -I//usr/include -I//usr/include/xorg -I//usr/include/pixman-1 -I./vivante_gal -I./vivante_fbdev -I./vivante_util -I./vivante_exa -I./vivante_extension -I//usr/include/drm -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I../../DRI_1.10.4/src -I/opt/fsl/include -DENABLE_LOG=1 -DDRAWING_STATISTICS=1 -mfpu=vfp -mfloat-abi=hard -march=armv7-a -marm -O2 -Werror -o vivante_fbdev/imx_display.o -c vivante_fbdev/imx_display.c
gcc -shared -fPIC -o vivante_drv.so vivante_gal/vivante_gal_blit.o vivante_gal/vivante_gal_gpu.o vivante_gal/vivante_gal_surface.o vivante_fbdev/vivante_fbdev_driver.o vivante_exa/vivante_exa.o vivante_exa/vivante_solid.o vivante_exa/vivante_copy.o vivante_exa/vivante_composite.o vivante_exa/vivante_pixmap.o vivante_extension/vivante_ext.o vivante_fbdev/vivante_dri.o vivante_util/logger.o vivante_fbdev/imx_display.o -fPIC -L//usr/lib -lm -ldl -lGAL -Wl,-soname -Wl,vivante_drv.so
/usr/bin/ld: cannot find -lGAL
collect2: error: ld returned 1 exit status
makefile.linux:65: recipe for target 'vivante_drv.so' failed
make: *** [vivante_drv.so] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment