Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2310 closed defect (invalid)

can't compile 6211 rev

Reported by: MrWho Owned by:
Priority: blocker Component: General
Severity: high Keywords:
Cc: Sensitive: no

Description

gcc -O2 -DOS_LINUX -DLIBUSB -DCS_CONFDIR='"/usr/local/etc"' -D'CS_SVN_VERSION="6211"' -I/usr/local/include -c -I/usr/include -Icsctapi oscam-config.c
oscam-config.c:41:2: error: #endif without #if
make[1]: * [lib/libcs-i686-pc-linux-libusb.a(oscam-config.o)] Error 1
make: [i386-pc-linux-libusb] Error 2 (ignored)

Change History (13)

comment:1 by Admin, 12 years ago

Did you try a clean checkout? Line 41 is actually empty in current svn...

comment:2 by cybero2912, 12 years ago

conirmed
oscam-config.c:41:2: Fehler: #endif ohne #if

comment:3 by Deas, 12 years ago

can´t confirm - i686-pc-linux, sh4 and ppc-old is working here. did you do a clean checkout or at least did a make clean?

comment:4 by cybero2912, 12 years ago

da ist einfach 2x #endif hintereinander in der oscam-config.c
habe den doppelten Eintrag entfernt und es läuft wieder durch

comment:5 by Deas, 12 years ago

please stick to english! there is no #endif in line 41! do a clean checkout or delete the oscam-config.c and try again.

comment:6 by cybero2912, 12 years ago

deleted oscam-config.c svn checkout = same problem with dublicated line

if I checkout 6200 for example all is OK and there is no dublicated #endif line

Last edited 12 years ago by cybero2912 (previous) (diff)

comment:7 by MrWho, 12 years ago

@Admin

my script :

mv /usr/local/etc/Easyscript/oscam-svn/make.sh /usr/local/etc/Easyscript
rm -rf oscam-svn
svn co http://www.streamboard.tv/svn/oscam/trunk oscam-svn
mv make.sh oscam-svn

comment:8 by MrWho, 12 years ago

in oscam-config.c :

Todo #ifdef CCCAM
static const char *cs_provid="oscam.provid";

#ifdef IRDETO_GUESSING
static const char *cs_ird="oscam.ird";
#endif
#endif

P.S.

You are right, the repository is correct, what i download it isn't.

Last edited 12 years ago by MrWho (previous) (diff)

comment:9 by Deas, 12 years ago

Resolution: invalid
Status: newclosed

look in svn and don´t bother us with your local problems! there are no 2 #endif in the svn!

http://www.streamboard.tv/oscam/browser/trunk/oscam-config.c

comment:10 by MrWho, 12 years ago

Sorry but you aren't right,
it was like browsing source doesn't reflect the truth.

I downloaded 6213 rev and it's the same.

You could try to reupload the entire file.

comment:11 by cybero2912, 12 years ago

problem is with easy script...
if I do a manual checkout using svn co http://www.streamboard.tv/svn/oscam/trunk oscam-svn
all OK
sorry for confusion
but still strange why this only happens with latest rev and does not happen with 6200

comment:12 by Deas, 12 years ago

@MrWho - no, i am right! the svn and the file is correct. fix your local problem and it will work.

@cybero2912 - because easybuild is patching svn files and when they change shit may happen...

comment:13 by MrWho, 12 years ago

Deas sorry, the problem is EasyScript.
I will post the problem in Easyscript thread.

Note: See TracTickets for help on using tickets.