Modify

Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#3084 closed defect (worksforme)

[package] gpioctl fails to build in r10275

Reported by: moh_de Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

The following error occurs during build:

make[3]: Entering directory `/data/oni/kamikaze-build-root/trunk/package/gpioctl'
mkdir -p /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0
cp -fpR ./src/* /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0/
touch /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0/.prepared_bb43b072157b4f4b0fb23cca5a9d7bd8
(cd /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0/./; if [ -x ./configure ]; then cp -fpR /data/oni/kamikaze-build-root/trunk/scripts/config.{guess,sub} /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0 && AR=mipsel-linux-uclibc-ar AS="mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" LD=mipsel-linux-uclibc-ld NM=mipsel-linux-uclibc-nm CC="mipsel-linux-uclibc-gcc" GCC="mipsel-linux-uclibc-gcc" CXX=mipsel-linux-uclibc-g++ RANLIB=mipsel-linux-uclibc-ranlib STRIP=mipsel-linux-uclibc-strip OBJCOPY=mipsel-linux-uclibc-objcopy OBJDUMP=mipsel-linux-uclibc-objdump SIZE=mipsel-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts " CPPFLAGS="-I/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/usr/include -I/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/include " LDFLAGS="-L/data/oni/kamikaze-build-root/trunk/staging_dir/toolchain-mipsel_gcc4.1.2/lib -L/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/usr/lib -L/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/lib " PKG_CONFIG_PATH="/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/usr/lib/pkgconfig:/data/oni/kamikaze-build-root/trunk/staging_dir/host/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="/data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/usr/lib/pkgconfig" ./configure --target=mipsel-linux --host=mipsel-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
touch /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0/.configured
make -C /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0 AR=mipsel-linux-uclibc-ar AS="mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" LD=mipsel-linux-uclibc-ld NM=mipsel-linux-uclibc-nm CC="mipsel-linux-uclibc-gcc" GCC="mipsel-linux-uclibc-gcc" CXX=mipsel-linux-uclibc-g++ RANLIB=mipsel-linux-uclibc-ranlib STRIP=mipsel-linux-uclibc-strip OBJCOPY=mipsel-linux-uclibc-objcopy OBJDUMP=mipsel-linux-uclibc-objdump SIZE=mipsel-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -I/data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/linux-2.6.23.1/include"
make[4]: Entering directory `/data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0'
mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -I/data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/linux-2.6.23.1/include main.c -o main.o
main.c:25:28: error: linux/gpio_dev.h: No such file or directory
main.c: In function 'main':
main.c:59: error: 'GPIO_DIR_IN' undeclared (first use in this function)
main.c:59: error: (Each undeclared identifier is reported only once
main.c:59: error: for each function it appears in.)
main.c:62: error: 'GPIO_DIR_OUT' undeclared (first use in this function)
main.c:65: error: 'GPIO_GET' undeclared (first use in this function)
main.c:69: error: 'GPIO_SET' undeclared (first use in this function)
main.c:72: error: 'GPIO_CLEAR' undeclared (first use in this function)
make[4]: * [main.o] Error 1
make[4]: Leaving directory `/data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0'
make[3]:
* /data/oni/kamikaze-build-root/trunk/build_dir/linux-brcm47xx/gpioctl-1.0/.built Error 2
make[3]: Leaving directory `/data/oni/kamikaze-build-root/trunk/package/gpioctl'
make[2]: * [package/gpioctl/compile] Error 2
make[2]: Leaving directory `/data/oni/kamikaze-build-root/trunk'
make[1]:
* /data/oni/kamikaze-build-root/trunk/staging_dir/mipsel/stamp/.package_compile Error 2
make[1]: Leaving directory `/data/oni/kamikaze-build-root/trunk'
make: * [world] Error 2

Is 'linux/gpio_dev.h' missing? Or is it my fault?

Attachments (1)

gpioctl_10272.txt (4.3 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by anonymous

comment:1 Changed 10 years ago by anonymous

rebuild the kernel
make target/linux/clean; make

comment:2 Changed 10 years ago by blogic

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

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.