This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build error in strace


I'm using the sample files to try to get one working build, so the only
thing
I changed were the paths.  I don't know if the following error is an
strace
problem or a crosstool-ng problem (or a config problem because of the
paths),
so I'll let someone more knowledgeable than me make the call.  This is
using
ct-ng 1.3.1 on Fedora 10:

[EXTRA]    Building strace
[DEBUG]    ==> Executing: 'make'
[ALL  ]    make[1]: Entering directory
`/home/andy/cross-tool/ng-test-3-targets/arm-unknown-linux-uclibcgnueabi
/build/build-strace'
[ALL  ]    make  all-am
[ALL  ]    make[2]: Entering directory
`/home/andy/cross-tool/ng-test-3-targets/arm-unknown-linux-uclibcgnueabi
/build/build-strace'
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/strace.c
[ALL  ]    mv -f .deps/strace.Tpo .deps/strace.Po
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c: In
function 'get_scno':
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c:1013
: warning: passing argument 4 of 'ptrace' makes integer from pointer
without a cast
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c:1050
: warning: passing argument 4 of 'ptrace' makes integer from pointer
without a cast
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c: In
function 'syscall_fixup':
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c:1358
: warning: unused variable 'pid'
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c: In
function 'syscall_enter':
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c:1954
: warning: unused variable 'pid'
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c: At
top level:
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/syscall.c:605:
warning: 'decode_subcall' defined but not used
[ALL  ]    mv -f .deps/syscall.Tpo .deps/syscall.Po
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT count.o -MD -MP -MF .deps/count.Tpo -c -o count.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/count.c
[ALL  ]    mv -f .deps/count.Tpo .deps/count.Po
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/util.c
[ALL  ]    mv -f .deps/util.Tpo .deps/util.Po
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT desc.o -MD -MP -MF .deps/desc.Tpo -c -o desc.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/desc.c
[ALL  ]    mv -f .deps/desc.Tpo .deps/desc.Po
[ALL  ]    arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17 -Ilinux/arm
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux/arm
-Ilinux
-I/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/linux
-Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:41:26:
error: linux/dirent.h: No such file or directory
[ALL  ]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c: In
function 'sys_getdents':
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2408:
error: dereferencing pointer to incomplete type
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2408:
error: dereferencing pointer to incomplete type
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2410:
error: dereferencing pointer to incomplete type
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2410:
error: dereferencing pointer to incomplete type
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2441:
error: dereferencing pointer to incomplete type
[ERROR]
/home/andy/cross-tool/ng-test-3-targets/src/strace-4.5.17/file.c:2445:
error: dereferencing pointer to incomplete type
[ERROR]    make[2]: *** [file.o] Error 1
[ALL  ]    make[2]: Leaving directory
`/home/andy/cross-tool/ng-test-3-targets/arm-unknown-linux-uclibcgnueabi
/build/build-strace'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory
`/home/andy/cross-tool/ng-test-3-targets/arm-unknown-linux-uclibcgnueabi
/build/build-strace'
[ERROR]    Build failed in step 'Installing strace'
[ERROR]    Error happened in
'/usr/local/lib/ct-ng-1.3.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/lib/ct-ng-1.3.1/scripts/build/debug/500-strace.sh' at line #
32 in function 'do_debug_strace_build'
[ERROR]          called from
'/usr/local/lib/ct-ng-1.3.1/scripts/build/debug.sh' at line # 35 in
function 'do_debug'
[ERROR]          called from
'/usr/local/lib/ct-ng-1.3.1/scripts/crosstool.sh' at line # 475 in
function 'main'
[ERROR]    Look at '/home/andy/cross-tool/ng-test-3-prefix/build.log'
for more info on this error.
[ERROR]  (elapsed: 149:13.17)

Thanks in advance,

Andy


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]