-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Creating a simple C program that uses the libpq-fe to access postgresql db installed in openWRT it gives the following error: make[1]: Entering directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686' make[2]: Entering directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686' make[3]: Entering directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/package/Teste' mkdir -p /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste cp -fpR ./src/* /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste/ touch /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste/.prepared_8337607e14f37ca7bd266918a0c73c07 touch /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste/.configured make -C /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste 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 make[4]: Entering directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste' mipsel-linux-uclibc-gcc -c -I/usr/include/postgresql -O2 -funit-at-a-time -fhonour-copts Teste.c mipsel-linux-uclibc-gcc -o Teste Teste.o -L/usr/lib/postgresql/8.3/lib -lpq /home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/staging_dir/toolchain-mipsel_gcc3.4.6/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make[4]: *** [Teste] Error 1 make[4]: Leaving directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste' make[3]: *** [/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/build_dir/mipsel/Teste/.built] Error 2 make[3]: Leaving directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/package/Teste' make[2]: *** [package/Teste/compile] Error 2 make[2]: Leaving directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686' make[1]: *** [/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686/staging_dir/mipsel/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/joao/testspace/OpenWrt-SDK-brcm-2.4-for-Linux-i686' make: *** [world] Error 2 I would thank anyone could give me a quick answer, JR -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLA8loAAoJEOR+rI0oUVyMKtQIAJOaXA4ltVlClShzSMoitSOT K7U8s4VGNbClloLChNlIHJWa7t+nbi0l6iFzb6wMgYjMUtcQCarBto5qW00INtsz tesnTGpdGVSMKfRNebjfwIGi1mhG2uvKxRXEv5R4BmF0G4nlauXdZ3lT64VHTTDx hkstLqGTvaDJABzDHozZcVyzieju1VLxWX2xJQJ0dU0IIPuvB6XGQfz8CwNToUHN /q23sB1s7SoWrtUurtmpLwobmXBE9kuufPmHkMJ74/y0tYDirjZBL5HyZ4su1I4s 8RzvwZQJvqkJ+TlhZQKVuoQdh+6HiLXh1qhl+bcgiT8QMUK0iK4adXR3m7GjbGw= =T3zL -----END PGP SIGNATURE-----
<<attachment: jreis.vcf>>
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
