|
[Sponsors] |
March 20, 2008, 15:20 |
Hi Bernhard,
thank for for g
|
#81 |
New Member
Heinz-Jürgen Geurtz
Join Date: Mar 2009
Location: Althengstett-Neuhengstett, Baden-Württemberg, Deutschland
Posts: 10
Rep Power: 17 |
Hi Bernhard,
thank for for giving me some assistance. Please excuse my late response since i am currently on vacation on Fuerteventura (just with external internet access). Bye the way, the weather is much more better than in good old germany. As soon as I´m back home I will make the installation as you suggested and give you feedback. Thank you in advance... Live long and prosper.. HJ
__________________
Live long and prosper ... Glückauf HJG |
|
March 24, 2008, 13:43 |
Hi Bernhard,
back home again
|
#82 |
New Member
Heinz-Jürgen Geurtz
Join Date: Mar 2009
Location: Althengstett-Neuhengstett, Baden-Württemberg, Deutschland
Posts: 10
Rep Power: 17 |
Hi Bernhard,
back home again I ran Allwmake with file output. I went trough all the stuff. wmake says: "ld: library not found for -lOpenFOAM collect2: ld returned 1 exit status" prior to exiting - indicationg a linker problem (?). This error appears also in other link-runs, always with the problem not finding the OpenFOAM-library What can I do??? HJ
__________________
Live long and prosper ... Glückauf HJG |
|
March 25, 2008, 14:23 |
Hi HJ!
Some questions:
I
|
#83 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi HJ!
Some questions: Is there a library libOpenFOAM.dylib there? Check with "ls $FOAM_LIBBIN" Is the variable DYLD_LIBRARY_PATH correctly set? (== is FOAM_LIBBIN included?) Are any applications compiled (check with "ls $FOAM_APPBIN")? Look in the compile.log for the first occurence of an error (propably that might be the cause) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 26, 2008, 06:35 |
Hi!
Apparently no applicati
|
#84 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi!
Apparently no applications get linked because the OpenFOAM-lib is missing (did not get linked). Could you try "cd $FOAM_SRC/OpenFOAM; wmake libso" (Or check the compile.log - there should be some kind of problem up there) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 26, 2008, 11:08 |
onyx-bridge 313% gdb ../../../
|
#85 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
onyx-bridge 313% gdb ../../../wmake/rules/sgi*/wmkdep
GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips-sgi-irix6.5"... (gdb) r dynamicFvMesh.C Starting program: /disk4/usr/people/student3/OpenFOAM/OpenFOAM-1.4.1/wmake/rules/sgiN32Gcc/wmkdep dynamicFvMesh.C Making dependency list for source file dynamicFvMesh.C $(OBJECTS_DIR)/dynamicFvMesh.o: dynamicFvMesh.dep 1111dynamicFvMesh.dep: dynamicFvMesh.C 1111dynamicFvMesh.dep: dynamicFvMesh.H could not open file fvMesh.H for source file dynamicFvMesh.C could not open file autoPtr.H for source file dynamicFvMesh.C could not open file runTimeSelectionTables.H for source file dynamicFvMesh.C Program received signal SIGSEGV, Segmentation fault. fread () at /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c:37 37 /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c: No such file or directory. in /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c (gdb) bt #0 fread () at /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c:37 #1 0x10002b74 in yylex () #2 0x10003250 in main () (gdb) q The program is running. Exit anyway? (y or n) y onyx-bridge 314% uname -a IRIX64 onyx-bridge 6.5 01080747 IP35 onyx-bridge 315% ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 65536 memory(kbytes) 29096416 coredump(blocks) unlimited nofiles(descriptors) 200 vmemory(kbytes) unlimited concurrency(threads) 1024 onyx-bridge 316% Hi Bernhard, Concerning the beginning of this thread, I have a question. I try to compile OpenFOAM on Irix6.5, yet I met core dump everytime when wmkdep is called. So, it is quite fatal that after compilation icoFoam failed with SegV. For instance, when I wmake libso dynamicFVMesh, after it is finished, I get a bad dynamicFVMesh.so and with a core file under src/dynamicFVMesh directory. Here is the information when I try to debug it. ----------------------------- onyx-bridge 313% gdb ../../../wmake/rules/sgi*/wmkdep GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips-sgi-irix6.5"... (gdb) r dynamicFvMesh.C Starting program: /disk4/usr/people/student3/OpenFOAM/OpenFOAM-1.4.1/wmake/rules/sgiN32Gcc/wmkdep dynamicFvMesh.C Making dependency list for source file dynamicFvMesh.C $(OBJECTS_DIR)/dynamicFvMesh.o: dynamicFvMesh.dep 1111dynamicFvMesh.dep: dynamicFvMesh.C 1111dynamicFvMesh.dep: dynamicFvMesh.H could not open file fvMesh.H for source file dynamicFvMesh.C could not open file autoPtr.H for source file dynamicFvMesh.C could not open file runTimeSelectionTables.H for source file dynamicFvMesh.C Program received signal SIGSEGV, Segmentation fault. fread () at /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c:37 37 /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c: No such file or directory. in /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c (gdb) bt #0 fread () at /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c:37 #1 0x10002b74 in yylex () #2 0x10003250 in main () (gdb) q The program is running. Exit anyway? (y or n) y onyx-bridge 314% uname -a IRIX64 onyx-bridge 6.5 01080747 IP35 onyx-bridge 315% ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 65536 memory(kbytes) 29096416 coredump(blocks) unlimited nofiles(descriptors) 200 vmemory(kbytes) unlimited concurrency(threads) 1024 onyx-bridge 316% So, what does this line mean? #0 fread () at /xlv42/6.5.23m/work/irix/lib/libc/libc_n32_M4/stdio/fread.c:37 Please help, thanks! Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 26, 2008, 11:29 |
Hi Daniel!
Which posting ar
|
#86 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Daniel!
Which posting are you refering to? (just the date would be helpful) The line means that it has some problem reading the file. My guess is because of an invalid filehandle. The number of possible file descriptors (200) in your ulimit-output is to small I'm afraid. Raise it to a larger value (1024 is standard on linux) and try again. (my guess is that the error occurs when trying to read the 201st file. Because this is beyond the ulimit the file handle is invalid and the read fails. But this is only a guess - I don't speak IRIX) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 26, 2008, 13:34 |
Hi Bernhard,
I checked your h
|
#87 |
New Member
Heinz-Jürgen Geurtz
Join Date: Mar 2009
Location: Althengstett-Neuhengstett, Baden-Württemberg, Deutschland
Posts: 10
Rep Power: 17 |
Hi Bernhard,
I checked your hint. wmake says: SOURCE=primitives/uint/uintIO.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -DWM_PROJECT_VERSION='"'1.4.1'"' -I/Users/heinzjuergengeurtz/OpenFOAM/OpenFOAM-1.4.1/src/zlib-1.2.1 -IlnInclude -I. -I/Users/heinzjuergengeurtz/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/darwinDPOpt/uintIO.o primitives/uint/uintIO.C: In function 'Foam::Istream& Foam::operator>>(Foam::Istream&, unsigned int&)': primitives/uint/uintIO.C:69: error: 'uint' was not declared in this scope make: *** [Make/darwinDPOpt/uintIO.o] Error 1 This is a first information. I'm investigation, what is te problem with uint and crosscheck in other posts. Greetings HJ
__________________
Live long and prosper ... Glückauf HJG |
|
March 26, 2008, 13:47 |
Hi,
From Bernhard (same th
|
#88 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi,
From Bernhard (same thread) : Try to replace the offending line i = uint(t.labelToken()); with i = (unsigned int)(t.labelToken()); (you WILL get a warning about an old-style cast) Good luck |
|
March 26, 2008, 13:59 |
Hello Pierre & Bernhard,
yes,
|
#89 |
New Member
Heinz-Jürgen Geurtz
Join Date: Mar 2009
Location: Althengstett-Neuhengstett, Baden-Württemberg, Deutschland
Posts: 10
Rep Power: 17 |
Hello Pierre & Bernhard,
yes, you are right. This is also what I found. I modified uintIO.C and launched wmake libso which ran. Now currently I started ./Allwmake to verify and (hopefully) finis the make. As soon as I have a result I will dive you a feedback. Greetings HJ
__________________
Live long and prosper ... Glückauf HJG |
|
March 26, 2008, 15:15 |
Hello Pierre & Bernhard,
we
|
#90 |
New Member
Heinz-Jürgen Geurtz
Join Date: Mar 2009
Location: Althengstett-Neuhengstett, Baden-Württemberg, Deutschland
Posts: 10
Rep Power: 17 |
Hello Pierre & Bernhard,
well, after replacing the "uint" I started Allwmake again. SUCCESS I checked icoFoam and checked it with paraview3.2.1. Looks quiet good. I make some some tutorials, but from the current view I'm through. Now I have to patch paraview to directly open Foam-cases. But tat's another thing... Thank you everbody for your assistance... Greeting HJ
__________________
Live long and prosper ... Glückauf HJG |
|
March 26, 2008, 19:30 |
Hi HJ!
You're welcome. But
|
#91 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi HJ!
You're welcome. But we could have saved ourselfs some iterations. So everbody repeat after me "The most important compilation error is the first one in the logfile. If we fix that most of the others will go away" (OK. Would sound better if it would rhyme) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 26, 2008, 21:55 |
Sorry for the last bad posting
|
#92 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Sorry for the last bad posting.
Hi Bernhard, thanks for your help. I meant the posting by James Turner on Wednesday, May 02, 2007 - 06:35 am Now I change the nofiles to 2500, (Actually I use "unlimit" and got the following. (Seems 2500 is my IRIX's upper limit of nofiles, is it enough?)) ------------------------------- onyx-bridge 17% ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 524288 memory(kbytes) 29096416 coredump(blocks) unlimited nofiles(descriptors) 2500 vmemory(kbytes) unlimited concurrency(threads) 1024 onyx-bridge 18% ------------------------------- but no luck, here's what i got after a few ./Allwmake in src/Pstream/dummy -> a core file and i tried to gdb, ------------------------------- onyx-bridge 18% gdb GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips-sgi-irix6.5". (gdb) core core Core was generated by `wmkdep'. Program terminated with signal 11, Segmentation fault. warning: wrong size gregset struct in core file warning: wrong size gregset struct in core file #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () -------------------------------- And it seems obvious that the problem lies in wmkdep.... Regards, Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 27, 2008, 07:12 |
HI Bernhard,
Not confident
|
#93 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
HI Bernhard,
Not confident on wmkdep on my IRIX system, so I tried to replace "wmkdep" with "cpp -M" under rules/general, while make a soft link under /rules/sgiN32Gcc and wcleanAll and recompile again. (Is it ok by doing so?) Now, no core any more came out in each directory during compilation, however, in the end, the execution of icoFoam died all the same with Segmentation fault or bus error etc. Please help, Thank you. Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 27, 2008, 08:10 |
Hi Daniel!
No idea. In Linu
|
#94 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Daniel!
No idea. In Linux I would recommend doing an strace (don't know if Irix has something like that). gdb doesn't give you anything because there is no debug-information included. Try the following: switch your OF-Compiler-Options to debug. Remove all the .o files you find in wmake and remake it. The core-dump should be more helpful then Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
March 27, 2008, 10:34 |
I have already switch my OF-Co
|
#95 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
I have already switch my OF-Compiler-Options to debug in .OpenFOAM-1.4.1/cshrc.
------------------------------------- onyx-bridge 52% icoFoam Bad system call (core dumped) onyx-bridge 53% ls FoamX Make core createFields.H icoFoam.C icoFoam.dep onyx-bridge 54% gdb icoFoam GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips-sgi-irix6.5"... (gdb) r Starting program: /disk4/usr/people/student3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/sgiN32GccDPD ebug/icoFoam Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. You can't do that without a process to debug. (gdb) core core Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libtriSurface.so...do ne. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libtriSurface.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libmeshTools.so...don e. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libmeshTools.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libPstream.so...done. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libPstream.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/liblagrangian.so...do ne. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/liblagrangian.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libfiniteVolume.so... done. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libfiniteVolume.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libOpenFOAM.so...done . Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libOpenFOAM.so Reading symbols from /usr/lib32/libfpe.so...done. Loaded symbols for /usr/lib32/libfpe.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libstdc++.so.6...done . Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libstdc++.so.6 Reading symbols from /usr/lib32/libm.so...done. Loaded symbols for /usr/lib32/libm.so Reading symbols from /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libgcc_s.so.1...done. Loaded symbols for /disk4/usr/people/student3/OpenFOAM/sgiN32/gcc-4.2.1/lib32/libgcc_s.so.1 Reading symbols from /usr/lib32/libc.so.1...done. Loaded symbols for /usr/lib32/libc.so.1 Reading symbols from /usr/lib32/libz.so...done. Loaded symbols for /usr/lib32/libz.so You can't do that without a process to debug. (gdb) bt You can't do that without a process to debug. (gdb) q onyx-bridge 55% ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 524288 memory(kbytes) 29096416 coredump(blocks) unlimited nofiles(descriptors) 2500 vmemory(kbytes) unlimited concurrency(threads) 1024 onyx-bridge 56% ------------------------------------------ 1. Is nofiles(descriptors)=2500 enough? 2. what do "Reading symblols" and "Loaded symbols" mean? Do they mean that my *.so files are correctly generated? 3. How could I know whether *.so files is correctly "wmake libso"? How to test it? 4. How to use strace in such cases? (IRIX has strace utility) I really appreciate your help. Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 27, 2008, 10:44 |
5. Do you think that I can rep
|
#96 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
5. Do you think that I can replace "wmkdep" with "cpp -M"?
I noticed that makeWmake only resulted out two files in wmake/rules/sgiN32Gcc, wmkdep and dirToString. So to remake it is not hard for me, yet with only one warning. ----------------------------------- onyx-bridge 59% ./makeWmake gcc -mabi=n32 -mips4 -Wall -O1 -DFULLDEBUG -fPIC dirToString.c -o /disk4/usr/people/student3/OpenFOAM/OpenFOAM-1.4.1/wmake/rules/sgiN32Gcc/dirToSt ring flex wmkdep.l ; gcc -mabi=n32 -mips4 -Wall -O1 -DFULLDEBUG -fPIC lex.yy.c -o /disk4/usr/people/student3/OpenFOAM/OpenFOAM-1.4.1/wmake/rules/sgiN32Gcc/wmkdep lex.yy.c:1393: warning: 'yyunput' defined but not used onyx-bridge 60% flex -V flex version 2.5.4 ----------------------------------- Any ideas? Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 27, 2008, 12:02 |
@1: Yeah 2500 is plenty
@2:
|
#97 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
@1: Yeah 2500 is plenty
@2: It's got to do with http://en.wikipedia.org/wiki/Dynamic...ynamic_linking Don't wory about it @3: Don'T understand the question @4: I let it run and look what the last system-calls before the segfault are @5: Don't know the difference. But I guess it is only there for performance reasons
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
April 5, 2008, 08:34 |
Dear OF Community,
I have b
|
#98 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Dear OF Community,
I have been greatly enjoying 1.4.1-dev on my linux workstations, but I still have not been able to successfully compile on my Mac. I recently upgraded the OS to 10.5.2, and still I have no success. Could someone offer any advice? In my compile log, this is the first error: superusers-macbook-pro-15:~/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM kjmaki$ wmake libso /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep' *** Assembler checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... ./configure: line 23524: External.*some_variable: command not found rm: conftest.dSYM: is a directory BSD nm checking for fgrep... grep -F checking whether to enable smp locks... yes checking if .proc/endp is needed... rm: conftest.dSYM: is a directory no checking directive for setting text section... .text checking directive for exporting symbols... .globl checking for objdump... no checking if .note.GNU-stack is needed... no checking suffix for labels... : checking prefix for global symbol labels... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory none configure: error: Could not determine global symbol label prefix + make make: *** No targets specified and no makefile found. Stop. + make install make: *** No rule to make target `install'. Stop. + make distclean make: *** No rule to make target `distclean'. Stop. + cd /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src + '[' OPENMPI = LAM -a '!' -r /lib/libmpi.a -a '!' -r /lib/libmpi.so -a '!' -r /lib/libmpi.dylib ']' + '[' OPENMPI = MPICH -a '!' -r /lib/libmpich.a -a '!' -r /lib/libmpich.so -a '!' -r /lib/libmpich.dylib ']' + cd /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/applications/utilities/miscellaneous + wmake exe foamFlex The second and all subsequent errors appear like this: /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old commands for target `.L.dep' SOURCE=triSurface/interfaces/STL/readSTLASCII.L ; foamFlex++ -f $SOURCE ; mv lex.yy.cc Make/darwinDPOpt/readSTLASCII.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c Make/darwinDPOpt/readSTLASCII.C -o Make/darwinDPOpt/readSTLASCII.o SOURCE=triSurface/interfaces/GTS/writeGTS.C ; g++ -Ddarwin -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRepository -ftemplate-depth-30 -IlnInclude -I. -I/Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/darwinDPOpt/writeGTS.o dyld: Symbol not found: __ZN4Foam8OPstream5writeEPKc Referenced from: /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/lib/darwinDPOpt/dummy/libPstream.dylib Expected in: dynamic lookup /bin/sh: line 1: 46335 Trace/BPT trap foamFlex++ -f $SOURCE mv: rename lex.yy.cc to Make/darwinDPOpt/readSTLASCII.C: No such file or directory i686-apple-darwin9-g++-4.0.1: Make/darwinDPOpt/readSTLASCII.C: No such file or directory i686-apple-darwin9-g++-4.0.1: no input files make: *** [Make/darwinDPOpt/readSTLASCII.o] Error 1 make: *** Waiting for unfinished jobs.... + wmake libso edgeMesh /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/darwin/flex++:6: warning: overriding commands for target `.L.dep' /Users/kjmaki/OpenFOAM/OpenFOAM-1.4.1-dev/wmake/rules/General/flex++:6: warning: ignoring old c Additional information that might be of use: superusers-macbook-pro-15:~/OpenFOAM/OpenFOAM-1.4.1-dev kjmaki$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) superusers-macbook-pro-15:~/OpenFOAM/OpenFOAM-1.4.1-dev kjmaki$ flex -V flex 2.5.33 Thanks! Kevin |
|
April 14, 2008, 18:54 |
Dear FOAMers,
I am waiting
|
#99 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Dear FOAMers,
I am waiting for someone to throw me the gem that I know is out there! I am still stuck trying to get over the flex++ or foamFlex++ issue on my mac laptop. I have followed the advice on the closely related thread titled (I dont know how to point to urls of specific threads, sorry): Yy_current_buffer undefined flexx2.5.33 vs flexx2.5.4 And whether I use foamFlex++ or flex++ makes no differnce, and I run Allwmake twice. Please help :-) Kevin |
|
April 15, 2008, 07:39 |
Hi Kevin!
Looks like libPSt
|
#100 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Kevin!
Looks like libPStream does not get linked and consequently all other links fail. Is the MACOSX_DEPLOYMENT_TARGET-variable set (although I'm not quite sure whether this is still required on 10.5 or whether it is just folklore that it is set on my machine: http://paulbeachsblog.blogspot.com/2007/12/i-have-read-in-number-of-places-that- i.html) If that does not help grep the .o-files in PStream/dummy/Make/darwinDPOpt Bernhard PS: One afterthought: In your previos post you start with "wmake libso OpenFOAM". You already made the Pstream-library?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |
VTK errors in ParaFOAM on OpenFOAM14 | stevemchale | OpenFOAM Installation | 5 | August 29, 2007 16:39 |
Compilation from source failed OpenFOAM14 | hsieh | OpenFOAM Installation | 1 | June 20, 2007 11:06 |
Probes in OpenFOAM14 | otsuki | OpenFOAM Running, Solving & CFD | 2 | May 16, 2007 07:18 |
Port of OpenFOAM14 to FreeBSD | thierry | OpenFOAM Installation | 0 | April 28, 2007 10:36 |