Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 07-01-2007, 02:11 AM   #1
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.o -o

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.


creating, error, theme, ubuntu, usplash

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 05:01 PM.

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