Title: Make errors
I have tried to make/install several things from source code (supposedly ported) but haven’t had much success outside of installing what is available through the FINK Commander.

Here is a couple of examples of what I am seeing.

Installing Gkrellm plugins:

ash-2.05a$ sudo make
gcc -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` -DPACKAGE="\"gkrellweather\"" -DPREFIX=\"/usr/local\" -DVERSION=\"2.0.6\" -c gkrellweather.c
(cd po && make all )
make[1]: Nothing to be done for `all'.
gcc gkrellweather.o -DVERSION=\"2.0.6\" -o gkrellweather.so -shared `pkg-config gtk+-2.0 --libs` -lpthread
gcc: unrecognized option `-shared'
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.lo) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
... blah blah blah
symbol _FT_Glyph_Transform used from dynamic library /usr/X11R6/lib/libfreetype.6.dylib(ftglyph.o) not from earlier dynamic library /sw/lib/libfreetype.6.dylib(ftglyph.lo)
ld: Undefined symbols:
_main
_GK
_gkrellm_add_meter_style
_gkrellm_chart_new0
...blah blah blah
_gkrellm_panel_create
_gkrellm_panel_new0
make: *** [gkrellweather.so] Error 1

Here is another:

ash-2.05a$ sudo make
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`    -c -o gkrellmoon.o gkrellmoon.c
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`    -c -o MoonRise.o MoonRise.c
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`    -c -o CalcEphem.o CalcEphem.c
CalcEphem.c: In function `DayofWeek':
CalcEphem.c:50: warning: implicit declaration of function `strcpy'
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`    -c -o Moon.o Moon.c
gcc  -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` gkrellmoon.o MoonRise.o CalcEphem.o Moon.o -o gkrellmoon.so -shared `pkg-config gtk+-2.0 --libs`
gcc: unrecognized option `-shared'
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.lo) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
...blah blah blah
symbol _FT_Glyph_Transform used from dynamic library /usr/X11R6/lib/libfreetype.6.dylib(ftglyph.o) not from earlier dynamic library /sw/lib/libfreetype.6.dylib(ftglyph.lo)
ld: Undefined symbols:
_main
_GK
_gkrellm_add_meter_style
_gkrellm_chart_width
...blah blah blah
_gkrellm_panel_new0
_gkrellm_scale_piximage_to_pixmap
make: *** [gkrellmoon.so] Error 1



Reply via email to