April Escamilla wrote:
>
> Sasha,
>
> here's a new error that I came up with:
>
> cc -o -0 -w3 mysql_connect
> mysql_connect.c -lc -L/u/april/mysql -lmysqlclient
> i386ld values-Xa.o fatal: Can't open file mysql_connect for input.
>
> I'm still looking for a more verbose mode, but this is at least a
> different error than before.
>
> Thanks,
> April
>
> >I guess you should be able to link with -L/u/april/mysql -lmysqlclient
> >fine. Try it again. If it fails, man cc, man ld to figure out how you
> >can make your compiler and linker as verbose as possible, add the
> >necessary switches, and the post all the ugly debugging info they tell
> >you.
>
You must specify the name of the output file after -o
--
Sasha Pachev
http://www.sashanet.com/ (home)
http://www.direct1.com/ (work)