Jump to content
Eternal Lands Official Forums
hussam

elc won't build against libpng 1.4.0

Recommended Posts

[hussam@LARS elc]$ make -f Makefile.linux

CC 2d_objects.o

CC 3d_objects.o

3d_objects.c: In function ‘draw_3d_objects’:

3d_objects.c:345: error: expected expression before ‘<<’ token

3d_objects.c:345:9: error: invalid suffix "d_objects.c" on integer constant

3d_objects.c:347: error: expected expression before ‘==’ token

3d_objects.c:353: error: expected expression before ‘>>’ token

make: *** [3d_objects.o] Error 1

Share this post


Link to post
Share on other sites
[hussam@LARS elc]$ make -f Makefile.linux

CC 2d_objects.o

CC 3d_objects.o

3d_objects.c: In function ‘draw_3d_objects’:

3d_objects.c:345: error: expected expression before ‘<<’ token

3d_objects.c:345:9: error: invalid suffix "d_objects.c" on integer constant

3d_objects.c:347: error: expected expression before ‘==’ token

3d_objects.c:353: error: expected expression before ‘>>’ token

make: *** [3d_objects.o] Error 1

Are you sure you have updated CVS correctly an not got a conflict? Line 345 is a new #ifdef and does not contain any "<<" tokens. Try to delete the 3d_objects.c source file and cvs update again.

Share this post


Link to post
Share on other sites

Deleting the file then running cvs up again fixed it. sorry for the trouble. I must have had some local change that I forgot about. Very sorry :icon13:

Share this post


Link to post
Share on other sites
Deleting the file then running cvs up again fixed it. sorry for the trouble. I must have had some local change that I forgot about. Very sorry :icon13:

Glad its fixed. ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×