Menu

#14 Compiled fine; make failed (i386 Debian)

open
Ken Prox
None
5
2015-04-19
2010-05-12
No

morse.c:27:27: error: gsl/gsl_errno.h: No such file or directory
morse.c:28:30: error: gsl/gsl_fft_real.h: No such file or directory
morse.c:29:37: error: gsl/gsl_fft_halfcomplex.h: No such file or directory
morse.c: In function ‘morse_create_fft_amp_array’:
morse.c:645: warning: implicit declaration of function ‘gsl_fft_real_radix2_transform’
morse.c:650: warning: implicit declaration of function ‘sqrt’
morse.c:650: warning: incompatible implicit declaration of built-in function ‘sqrt’
morse.c:650: warning: implicit declaration of function ‘pow’
morse.c:650: warning: incompatible implicit declaration of built-in function ‘pow’
make[2]: *** [morse.o] Error 1
make[2]: Leaving directory `/home/linux/Desktop/morse2txt-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/Desktop/morse2txt-1.0.0'
make: *** [all] Error 2

Discussion

  • Ken Prox

    Ken Prox - 2010-05-12
    • assigned_to: nobody --> kprox
     
  • Ken Prox

    Ken Prox - 2010-05-12

    Can you attach the portion of file src/Makefile between "target_alias" and "morse2txt_SOURCES"?

    For example:

    target_alias =
    top_build_prefix = ../
    top_builddir = ..
    top_srcdir = ..
    AUTOMAKE_OPTIONS = foreign
    INCLUDES = \ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 \ -I$(top_srcdir) \ -Wall -Wimplicit \ -Wreturn-type \ -Wunused \ -Wswitch \ -Wcomment \ -Wuninitialized \ -Wparentheses \ -Wpointer-arith \ -Wmissing-prototypes \ $(GSL_CFLAGS)

    morse2txt_LDADD = -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 $(INTLLIBS) $(GSL_LIBS)
    morse2txt_SOURCES = \ main.c \

     

Log in to post a comment.