Hi,

I tried installing `mysql-unified-dev` after doing a `fink selfupdate` and
am running into the following compilation error. Any pointers on how to fix
this?

gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include
 -I/usr/local/fink/include  -DDBUG_OFF -Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses
-Wsign-compare -Wwrite-strings -Wunused  -O3 -fno-omit-frame-pointer  -g
-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ
-DIGNORE_SIGHUP_SIGQUIT -c longlong2str_asm.c
longlong2str_asm.c:29:7: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
char *longlong2str(longlong val,char *dst,int radix)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/m_string.h:240:38: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                    ~^
longlong2str_asm.c:29:20: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                   ^
longlong2str_asm.c:29:7: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
char *longlong2str(longlong val,char *dst,int radix)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/m_string.h:240:42: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                        ~^
longlong2str_asm.c:29:33: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                                ^
longlong2str_asm.c:29:7: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
char *longlong2str(longlong val,char *dst,int radix)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/m_string.h:240:46: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                            ~^
longlong2str_asm.c:29:43: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                                          ^
longlong2str_asm.c:29:7: error: expected parameter declarator
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:49: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                                ^
longlong2str_asm.c:29:7: error: expected ')'
longlong2str_asm.c:29:7: note: to match this '('
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:36: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                   ^
longlong2str_asm.c:29:7: error: conflicting types for 'int2str'
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:29: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                            ^
../include/m_string.h:234:14: note: previous declaration is here
extern char *int2str(long val, char *dst, int radix, int upcase);
             ^
longlong2str_asm.c:29:7: error: parameter name omitted
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:38: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                     ^
longlong2str_asm.c:29:20: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                   ^
longlong2str_asm.c:29:7: error: parameter name omitted
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:42: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                         ^
longlong2str_asm.c:29:33: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                                ^
longlong2str_asm.c:29:7: error: parameter name omitted
char *longlong2str(longlong val,char *dst,int radix)
      ^
../include/m_string.h:240:46: note: instantiated from:
#define longlong2str(A,B,C) int2str((A),(B),(C),1)
                                             ^
longlong2str_asm.c:29:43: note: instantiated from:
char *longlong2str(longlong val,char *dst,int radix)
                                          ^
longlong2str_asm.c:31:39: error: use of undeclared identifier 'val'
  return longlong2str_with_dig_vector(val, dst, radix, _dig_vec_upper);
                                      ^
3 warnings and 7 errors generated.
make[2]: *** [longlong2str_asm.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.o46y_ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/usr/local/fink/bin/dpkg-lockwait -r fink-buildlock-mysql-unified-5.0.96-1
(Reading database ... 65817 files and directories currently installed.)
Removing fink-buildlock-mysql-unified-5.0.96-1 ...
Failed: phase compiling: mysql-unified-5.0.96-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List <[email protected]>
 The Fink Beginners List <[email protected]>,

with a carbon copy to the maintainer:

Todai Fink Team <[email protected]>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.34.7
Distribution version: selfupdate-rsync Mon Apr  1 11:31:10 2013, 10.7,
x86_64
Trees: local/main stable/main
Xcode.app: 4.2.1
Xcode command-line tools: 4.2.1
Max. Fink build jobs:  1

Thanks,
Saurabh.
------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to