Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ act_comm errors compiling on ubuntu 9 with gcc 4.4.1

act_comm errors compiling on ubuntu 9 with gcc 4.4.1

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2  3 

Posted by Milo   USA  (20 posts)  Bio
Date Reply #30 on Wed 25 Nov 2009 01:17 AM (UTC)
Message
well i got that fixed lol sorry
Top

Posted by Milo   USA  (20 posts)  Bio
Date Reply #31 on Wed 25 Nov 2009 01:25 AM (UTC)
Message
ok here is the new errors i can get past


pdragon@EGNSystems:~/Rom24/src$ make
gcc -c -pipe -mcpu=pentium -march=pentium -rdynamic -W -O -Wall -Winline -Wpointer-arith -Wcast-align -gstabs+ -ggdb3   act_wiz2.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
act_wiz2.c: In function ‘do_auto_copyover’:
act_wiz2.c:415: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
act_wiz2.c: In function ‘list_mxp_flags’:
act_wiz2.c:2299: error: conflicting types for ‘mxp_support_flags’
tables.h:77: note: previous declaration of ‘mxp_support_flags’ was here
act_wiz2.c: In function ‘do_idle’:
act_wiz2.c:3630: warning: format not a string literal and no format arguments
act_wiz2.c: In function ‘do_copyover’:
act_wiz2.c:3961: warning: format not a string literal and no format arguments
act_wiz2.c: In function ‘copyover_recover’:
act_wiz2.c:4022: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
make: *** [act_wiz2.o] Error 1
pdragon@EGNSystems:~/Rom24/src$
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #32 on Wed 25 Nov 2009 07:46 AM (UTC)
Message
Well, this is telling you that mxp_support_flags has been declared two times with two different types at the lines given; you need to fix the declarations to be of the same type. First determine what the correct type is, then find the declaration with the wrong type and fix it.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


97,380 views.

This is page 3, subject is 3 pages long:  [Previous page]  1  2  3 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.