Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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 in reply to:  description Changed 13 years ago by fcasarramona

Another user has experienced the same bug in indi mailing list. Same 10.7.2 OSX version, and XCode just installed from AppStore.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jtomshine@…
Summary: tutorial_dome.c don't compileindi: 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 in reply to:  2 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 in reply to:  2 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 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:6 in reply to:  5 Changed 13 years ago by fcasarramona

Resolution: fixed
Status: closedreopened

Replying to ryandesign@…:

r87076.

You missed the '=' in:

configure.compiler=llvm-gcc-4.2

Thanks

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: fixed
Status: reopenedclosed

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.

Note: See TracTickets for help on using tickets.