C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 12th, 2008, 05:26 AM
runaway runaway is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 2 runaway Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 33 m 11 sec
Reputation Power: 0
Error compiling Ghostscript

Hi,

Im a Unix SA and have the following issue when trying to compile Ghostscript (8.62) on a DEC Alpha V4.0F.

I receive the following message when running make:-

cc: Warning: ./src/mkromfs.c, line 281: In this statement, the referenced type of the pointer value "node->name" is "char", which is not compatible with the "unsigned char". (ptrmismatch)
put_bytes_padded(out, node->name, namelen);
-----------------------------------------------------------
ld:
Unresolved:
ftello:
fseeko
*** Exit 1
Stop.


Lines 279-281 in mkromfs.c read as follows:-

/* write file name (path) padded to 4 byte multiple */
fprintf(out, "\t/* file name '%s' */\n/t", name->name);
put_bytes_padded(out, node->name, namelen);


Unfortunately my C knowledge stretches to 'hello world' to test compilers so any input would be greatly appreciated. If any further information is required please let me know.

Unfortunately due to the server being behind a firewall I have had to manually type in the messages so would be unable to send the full file or listings...



Thanks in advance...

Reply With Quote
  #2  
Old June 12th, 2008, 10:50 AM
salem's Avatar
salem salem is offline
Contributed User
Click here for more information
 
Join Date: Jun 2005
Posts: 3,905 salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)salem User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 153 Folding Title: Novice Folder
Time spent in forums: 2 Months 3 Weeks 4 Days 1 h 2 m 3 sec
Reputation Power: 1774
Perhaps this
Which inevitably leads to this

Whilst there are many excellent programmers on this board, what we can't do without lots of effort is help people who wander in and say (as you have done), "I've got the foo package, and it doesn't compile".

The best place to answer those sorts of questions is on the website dedicated to the maintenance and development of the foo package. That is where you'll
- find the most people with the most experience of using the foo package
- find people who may have actually tried to do what you're trying to do (and may even have succeeded)
- find people who may also be interested in the answer
- find people who'll be interested in fixing the package so it does work on your system.
- find people who are interested in updating the documentation / FAQs to include your system.
- even if they don't know, they're the ones most likely to know where to look or who to ask.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper

Reply With Quote
  #3  
Old June 12th, 2008, 11:13 AM
runaway runaway is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 2 runaway Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 h 33 m 11 sec
Reputation Power: 0
Ive tried FAQ's and the 'foo' package development to no avail so thanks for the reply and the condescending attitude, I shall wander off back to the Unix boards and not darken your high level doors again...
Comments on this post
sizablegrin disagrees!
tredontho disagrees: Good riddance. When you are able to accept constructive criticism, you are welcome back.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Error compiling Ghostscript

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap