From ba1f90490ba5b77724337833cbd03a50d08cb90a Mon Sep 17 00:00:00 2001 From: allen Date: Sun, 8 Sep 2002 14:05:33 +0000 Subject: New entry C28 On linking I get an "unresolved text symbol" for a scheduled function called from libCactusBindings.a Check the size of the object file which was created for the source file containing this function in configs//build/. With some compilers, making object files for complicated source files can fail because it takes too much memory, and an empty object file will be created and the make process will fail. If you continue the make process Cactus will not realise that the object file is empty. If this is what happened, touch the relevant source file and try compiling again. It may be that you will need to switch optimisations off for this file, or split up the troublesome code into smaller components. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2998 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/FAQ | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'doc/FAQ') diff --git a/doc/FAQ b/doc/FAQ index e199733f..7c65f1e9 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -1,7 +1,7 @@ Cactus Code Frequently Asked Questions -$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.44 2002-09-02 17:47:56 allen Exp $ +$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.45 2002-09-08 14:05:33 allen Exp $ Also available at http://www.cactuscode.org/Documentation/FAQ @@ -126,6 +126,9 @@ C26 I'm passing arguments to my scheduled routine using CCTK_ARGUMENTS and C27 (Linux IA64) I get a segmentation violation compiling snprintf.c in the Cactus flesh? +C28 On linking I get an "unresolved text symbol" for a scheduled function + called from libCactusBindings.a + ------------------------------------------------------------------------------ Running: @@ -742,6 +745,20 @@ C27 (Linux IA64) I get a segmentation violation compiling snprintf.c in have indicated that -O1 actually executes faster than -O3, although this may be just for our particular benchmarks). +C28 On linking I get an "unresolved text symbol" for a scheduled function + called from libCactusBindings.a + + Check the size of the object file which was created for the source + file containing this function in configs//build/. + With some compilers, making object files for complicated source files + can fail because it takes too much memory, and an empty object file + will be created and the make process will fail. If you continue the + make process Cactus will not realise that the object file is empty. + + If this is what happened, touch the relevant source file and try + compiling again. It may be that you will need to switch optimisations off + for this file, or split up the troublesome code into smaller components. + ------------------------------------------------------------------------------ Running: -- cgit v1.2.3