Compile error

21 views
Skip to first unread message

Yeechang Lee

unread,
Jun 3, 2011, 4:59:02 PM6/3/11
to hdpvr-kil...@googlegroups.com
With make, I get

cc -O3 -g -Wall -Werror -lftdi hdpvr-power.c -o hdpvr-power
cc1: warnings being treated as errors
hdpvr-power.c: In function 'open_ftdi_usbd':
hdpvr-power.c:63: warning: implicit declaration of function 'ftdi_usb_open_string'
make: *** [hdpvr-power] Error 1

This is on CentOS 5.

--
Yeechang Lee <yl...@pobox.com> | San Francisco

cpwright

unread,
Jun 4, 2011, 8:30:10 PM6/4/11
to HDPVR Killer Device
You need libftdi-devel installed if you don't already have it.

Charles
> Yeechang Lee <y...@pobox.com> | San Francisco

Gavin Hurlbut

unread,
Jun 4, 2011, 8:48:46 PM6/4/11
to hdpvr-kil...@googlegroups.com
Sorry for the slow reply.  You may need the headers/library (development package) for libftdi.  Failing that, you may need a newer version of libftdi.  On my setup, I used Ubuntu 10.04.1 LTS, and the version of libftdi is 0.17.  If you have an older version, you may need to upgrade.

CentOS is not known for having the latest and greatest version of libraries, but this one shouldn't adversely affect much else, so should be OK to upgrade manually if necessary. 

Yeechang Lee

unread,
Jun 4, 2011, 9:27:55 PM6/4/11
to hdpvr-kil...@googlegroups.com
cpwright <cpwr...@gmail.com> says:
> You need libftdi-devel installed if you don't already have it.

It is installed; the make wouldn't have gotten that far otherwise.

Yeechang Lee

unread,
Jun 4, 2011, 9:45:32 PM6/4/11
to hdpvr-kil...@googlegroups.com
Gavin Hurlbut <gjhu...@gmail.com> says:
> Failing that, you may need a newer version of libftdi. On my setup,
> I used Ubuntu 10.04.1 LTS, and the version of libftdi is 0.17.

Yes, this was the key. I was using 0.16 from atrpms. After I switched
to 0.18 from rpmforge the compile worked.

Reply all
Reply to author
Forward
0 new messages