#31999 closed defect (fixed)
indi: conflicting types for 'closeDome' — at Version 7
Reported by: | fcasarramona | Owned by: | jtomshine@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | indi |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Trying to install indi port in a 10.7.2 OSX the following compiling error is logged:
:info:build /opt/local/var/macports/build/_Users_Alnair_ports_science_indi08/indi/work/libindi-0.8/examples/tutorial_dome.c:185:6: error: conflicting types for 'closeDome'
Complete log file is attached.
Change History (7)
comment:1 Changed 13 years ago by fcasarramona
comment:2 follow-ups: 3 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to jtomshine@… |
---|---|
Summary: | tutorial_dome.c don't compile → indi: conflicting types for 'closeDome' |
The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Somebody should file a bug report with the indi project: http://sourceforge.net/tracker/?group_id=90275&atid=593019
comment:3 Changed 13 years ago by fcasarramona
Replying to ryandesign@…:
The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Somebody should file a bug report with the indi project: http://sourceforge.net/tracker/?group_id=90275&atid=593019
There are other users with OSX 10.7.2 than could compile without problems. I will check with them.
comment:4 Changed 13 years ago by fcasarramona
Replying to ryandesign@…:
The log you attached is incomplete (clean and try again to generate a complete log) but it looks like you're using clang. Have you tried llvm-gcc-4.2 instead? See wiki:ProblemHotlist#compiler.
Good, with llvm-gcc-4.2 compiles ok.
Can you change port file in order to configure llvm-gcc-4.2 as compiler?
Thanks.
comment:5 follow-up: 6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 13 years ago by fcasarramona
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
One does not use an "=" in Tcl when setting a variable. The block I inserted into the portfile is copied directly from wiki:PortfileRecipes#compiler and works correctly.
Another user has experienced the same bug in indi mailing list. Same 10.7.2 OSX version, and XCode just installed from AppStore.