LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2007, 02:11 AM   #1
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Rep: Reputation: 15
Creating Usplash, usplash-artwork.c:1: error....


I am new to this. I have my computer set up the way I want and now I have one final thing to do for the appearance. I want to custom create my own Usplash theme. I have everything I needed installed, I believe. I have the png image set at 256 indexed, 800x600. It is a simple black image with white text, a test image.

I am using Ubuntu 7.04 and following these instructions from,

Custom Edgy Usplash


step 1

cp test.png usplash-artwork.png (this creates a usplash-artwork.png)

step 2

pngtobogl usplash-artwork.png > usplash-artwork.c (this creates a usplash-artwork.c)

step 3 (followed by the error message,)

gcc -Os -g -I /usr/include/bogl -fPIC -c usplash-artwork.c -o usplash-artwork.o

usplash-artwork.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘has’


Step 4, once I get to it,

gcc -shared -Wl,-soname,usplash-artwork.so usplash-artwork.o -o test-splash.so


I also have a usplash-artwork.c:1: file that was created


What am I missing or doing wrong on this?

Thanks in advance.

Last edited by Neo-Leper; 07-01-2007 at 02:14 AM.
 
  


Reply

Tags
creating, error, theme, ubuntu, usplash



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usplash in home-made Linux fredrikis Linux - Server 1 06-01-2007 03:25 AM
using usplash carlyno Linux - Desktop 4 05-07-2007 04:48 AM
Kubuntu Desktop (kubuntu-artwork-usplash) nixFreak Linux - Distributions 1 03-04-2007 07:09 PM
Usplash on Debian carlosinfl Debian 5 02-08-2007 04:07 AM
usplash JS_SAVES Ubuntu 5 10-19-2006 01:56 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration