[JDEV] help for xdb_odbc module

Alex She<Wizdomtech - Analyst Programmer> alexshe at wizdomtech.com
Tue Oct 9 20:21:54 CDT 2001


Thank all:
> > I downloaded xdb_odbc , but when I make it, it output following :
> > Makefile:14: *** commands commence before first target.  Stop.
> > why?
> > I view the Makefile, but I can find any clue,
> 
> Makefiles are pretty picky.  The target needs to be in the leftmost
> column, and anything indented under that *must* have a tab.  So, for
> example, target foo that runs a gcc command *must* look like this:
> 
> foo:
> <tab>gcc foo.c -o foo
> 
> What OS are you running under?  You may need GNU's make...
I use redhat linux (kernel-2.2.12-20), 
following statement in Makefile does not work.
xdb_odbc_OBJECTS=    xdb_odbc.o \
<tab>xdb_odbc_file.o \        #this is line 14 
<tab>xdb_odbc_helper.o \
<tab>xdb_odbc_querydef.o
GNU make will output "Makefile:14: *** commands commence before first target.  
Stop."
After I change <tab> to <space> , GNU make will output "Makefile:14: *** 
missing seperator.  Stop."
if I use gcc directly to compile and link this module , complile and link 
successfully, but I don't try to use this module .
 

-------------------------------------------------
This mail sent through IMP: mail.wizdomtech.com



More information about the JDev mailing list