Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Error when trying to cross compile distribution



        Hello,

        I'm trying to cross compile -current with:
./build.sh -U -m sparc distribution

        Host is linux/amd64, target is netbsd/sparc.

        All tools and obj were created but ./build.sh distribution hangs with:

ln -sf libsqlite3.so.1.2 libsqlite3.so.1.tmp
mv -f libsqlite3.so.1.tmp libsqlite3.so.1
ln -sf libsqlite3.so.1.2 libsqlite3.so.tmp
mv -f libsqlite3.so.tmp libsqlite3.so
In file included from <stdin>:1:0:
/opt/home/bertrand/netbsd/src/external/public-domain/sqlite/lib/../dist/sqlite3.h:35:67: fatal error: stdarg.h: No such file or directory
 #include <stdarg.h>     /* Needed for the definition of va_list */
                                                                   ^
compilation terminated.
sed: 1: "s/@VERSION@/#": unterminated substitute in regular expression

*** Failed target:  sqlite3.pc
*** Failed command: (V=$( (echo '#include <sqlite3.h>'; echo SQLITE_VERSION) | /opt/home/bertrand/netbsd/src/obj/tooldir.Linux-3.12-1-amd64-x86_64/bin/sparc--netbsdelf-gcc -E -I/opt/home/bertrand/netbsd/src/external/public-domain/sqlite/lib/../dist - | tail -1 | tr -d '"') && /opt/home/bertrand/netbsd/src/obj/tooldir.Linux-3.12-1-amd64-x86_64/bin/nbsed -e s/@VERSION@/$V/ < /opt/home/bertrand/netbsd/src/external/public-domain/sqlite/lib/sqlite3.pc.in > sqlite3.pc)
*** Error code 1

I have checked on releng.netbsd.org that my tree can be built without known error.

        What is my mistake ?

        Best regards,

        JKB


Home | Main Index | Thread Index | Old Index