[sane-devel] Makefile errror in Sane-backend-1.0.15
sofian.teja at xuite.net
sofian.teja at xuite.net
Mon Feb 20 12:52:40 UTC 2006
Dear all developer,
I was trying to write the driver for linux, and I ve got problem when I try to make in fedora core 4 , the error message : ../../include/sane/sanei_backend.h: error : previous declaration of sane status sane_1000_init(Sane_Int*, void(*)(Const SANE_char*.... ) With "C++ linkage".
1000.cpp line... error: conflicts with new declaration with 'c' linkage.
I already try to solve this error and is not only one , they are many of it. my gcc version in fedora core 4 is 4.0.0 and I also try in different OS to compile, when I try to makefile in Redhat 9 with GCC version 3.2.2 theres is no error. ??? my question is if my driver won't work in FC 4 ?? because i am very new in linux programming, why in Redhat 9 is ok but not in FC4? Thanks for advance.
Best regards,
Kevin
§ïÅܨC¤@¤Ñ ±qXuite¶}©l
http://www.xuite.net
Best regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060220/e822d867/attachment.html
More information about the sane-devel
mailing list