Menu

#105 Can't compile in Mdk 10

closed-fixed
nobody
None
5
2007-03-06
2006-04-25
Bastiaan
No

Hello,

I can't run make and it ends like this:
(0.6 pre 1)

./configure
make
.
table_export.c:237: error: conflicting types for
'gmdb_table_export_populate_dialog'
table_export.c:233: error: previous implicit
declaration of 'gmdb_table_export_populate_dialog' was here
make[3]: *** [table_export.o] Error 1
make[3]: Leaving directory
`/home/bw/tmp/mdbtools-0.6pre1/src/gmdb2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/bw/tmp/mdbtools-0.6pre1/src/gmdb2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/bw/tmp/mdbtools-0.6pre1/src'
make: *** [all-recursive] Error 1

Also I tried the suggested form:

./configure --enable-sql --with-unixodbc=/usr/local
make

make[2]: Entering directory
`/home/bw/tmp/mdbtools-0.6pre1/src/odbc'
...
odbc.c:21:17: sql.h: No such file or directory
odbc.c:22:20: sqlext.h: No such file or directory
In file included from odbc.c:28:
../../include/mdbodbc.h:28:22: odbcinst.h: No such file
or directory
...

Discussion

  • ONEEYEMAN

    ONEEYEMAN - 2006-04-25

    Logged In: YES
    user_id=1325635

    Do you have a unixODBC or iODBC packet installed? From
    looking at theerrors you got, you don't....

     
  • Samuel Moffatt

    Samuel Moffatt - 2006-04-27

    Logged In: YES
    user_id=757205

    You probably don't have the unixodbc dev package or similar.
    Make sure you have the relevant dev packages.

    Sam

     
  • Jeffrey S Smith

    Jeffrey S Smith - 2006-04-28

    Logged In: YES
    user_id=48025

    First run:
    0.6pre1 may have shipped with a problem in gmdb2 (which is
    the graphical interface). You can skip compiling this
    component with the configure option '--disable-gmdb2'.

    Second run:
    In Mandrake/Mandriva, the libunixODBC package's
    exec-prefix is /usr, not /usr/local. Also, if you do not
    already have both the base and devel packages for
    libunixODBC installed, you will need to install them first.
    BTW, depending on the particular release of
    Mandrake/Mandriva, the base package name may be either
    libunixODBC1 or libunixODBC2.

    -- Jeff

     
  • Bastiaan

    Bastiaan - 2006-05-01

    Logged In: YES
    user_id=735561

    You are right.. i missed that.
    But while installes the unixODBC I did get this:
    table_export.c:237: error: conflicting types for
    'gmdb_table_export_populate_dialog'
    table_export.c:233: error: previous implicit declaration of
    'gmdb_table_export_populate_dialog' was here
    make[3]: *** [table_export.o] Error 1
    make[3]: Leaving directory
    `/home/bw/tmp/mdbtools-0.6pre1/src/gmdb2'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
    `/home/bw/tmp/mdbtools-0.6pre1/src/gmdb2'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/bw/tmp/mdbtools-0.6pre1/src'
    make: *** [all-recursive] Error 1

     
  • Nobody/Anonymous

    Logged In: NO

    What version of unixODBC did you install?

    Thank you.

     
  • Brian Bruns

    Brian Bruns - 2007-03-06
    • status: open --> closed-fixed
     
  • Brian Bruns

    Brian Bruns - 2007-03-06

    Logged In: YES
    user_id=11673
    Originator: NO

    gmdb_table_export_populate_dialog and friends are due to missing prototypes and are fixed in CVS. Closing.

     

Log in to post a comment.